Skip to content

Instantly share code, notes, and snippets.

@allenhwkim
Created April 6, 2018 16:30
Show Gist options
  • Select an option

  • Save allenhwkim/4f9c4271ae7f476be73beb4dd8a40083 to your computer and use it in GitHub Desktop.

Select an option

Save allenhwkim/4f9c4271ae7f476be73beb4dd8a40083 to your computer and use it in GitHub Desktop.
CodeceptJS Commands Table
Command\Helper WebDriverIO Puppeteer Nightmare Protractor
_addPopupListener x
_locate x x x x
_locateCheckable x x x
_locateClickable x x x
_locateFields x
_getWindowHandle x
_locateFields x x
_setPage x
acceptPopup x x x
amAcceptingPopups x
amCancellingPopups x
amInsideAngularApp x
amOnPage x x x x
amOutsideAngularApp x
appendField x x x x
attachFile x x x x
cancelPopup x x x
checkOption x x x x
clearCookie x x x x
clearField x x x x
click x x x x
closeCurrentTab x x x
closeOtherTabs x x x
defineTimeout x
dontSee x x x x
dontSeeCheckboxIsChecked x x x x
dontSeeCookie x x x x
dontSeeCurrentUrlEquals x x x x
dontSeeElement x x x x
dontSeeElementInDOM x x x x
dontSeeInCurrentUrl x x x x
dontSeeInField x x x x
dontSeeInSource x x x x
dontSeeInTitle x x x x
doubleClick x x x x
dragAndDrop x x x
executeAsyncScript x x x x
executeScript x x x x
fillField x x x x
grabAttributeFrom x x x x
grabBrowserLogs x x x
grabCookie x x x x
grabCssPropertyFrom x x x
grabCurrentUrl x x x x
grabHAR x
grabHTMLFrom x x x
grabNumberOfOpenTabs x x x
grabNumberOfVisibleElements x x x x
grabPageScrollPosition x x x x
grabPopupText x x x
grabSource x x x
grabTextFrom x x x x
grabTitle x x x x
grabValueFrom x x x x
haveHeader x
haveModule x
haveRequestHeaders x
moveCursorTo x x x x
moveTo x
openNewTab x x x
pressKey x x x x
refresh x x
refreshPage x x x x
resetModule x
resizeWindow x x x x
rightClick x x x
runInWeb x
runOnAndroid x
runOnIOS x
saveScreenshot x x x x
scrollPageToBottom x x x x
scrollPageToTop x x x x
scrollTo x x x x
see x x x x
seeAttributesOnElements x x x
seeCheckboxIsChecked x x x x
seeCookie x x x x
seeCssPropertiesOnElements x x x x
seeCurrentUrlEquals x x x
seeElement x x x x
seeElementInDOM x x x x
seeInCurrentUrl x x x x
seeInField x x x x
seeInPopup x x x
seeInSource x x x x
seeInTitle x x x x
seeNumberOfElements x x x x
seeNumberOfVisibleElements x x x x
seeTextEquals x x x
seeTitleEquals x x x
selectOption x x x x
setCookie x x x x
switchTo x x x
switchToNextTab x x x
switchToPreviousTab x x x
triggerMouseEvent x
uncheckOption x
wait x x x x
waitForClickable x
waitForDetached x x x x
waitForElement x x x x
waitForEnabled x x x
waitForInvisible x x x x
waitForText x x x x
waitForValue x x x x
waitForVisible x x x
waitInUrl x x x
waitNumberOfVisibleElements x x x
waitToHide x x x x
waitUntil x x x
waitUrlEquals x x x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment