• I/O

  • Home
  • Developer Guide
  • API
  • Contribute
  • Link to GitHub
    • v3.4
    • v4.11
    • v4.12
    • v4.13
    • Latest
clear

action

addValueclearElementclickdoubleClickdragAndDropleftClickmiddleClickmoveToObjectrightClickselectByAttributeselectByIndexselectByValueselectByVisibleTextselectorExecuteselectorExecuteAsyncsetValuesubmitForm

cookie

deleteCookiegetCookiesetCookie

grid

getGridNodeDetailsgridProxyDetailsgridTestSession

mobile

backgroundcloseAppcontextcontextscurrentActivitydeviceKeyEventgetAppStringsgetCurrentDeviceActivitygetCurrentPackagegetDeviceTimegetGeoLocationgetNetworkConnectiongetOrientationhideDeviceKeyboardholdinstallAppisAppInstalledisLockedlaunchlocklongPressKeycodeopenNotificationsorientationperformMultiActionperformTouchActionpressKeycodepullFilepullFolderpushFilereleaseremoveAppresetrotatesetGeoLocationsetImmediateValuesetNetworkConnectionsetOrientationsettingsshakestartActivitystringsswipeswipeDownswipeLeftswipeRightswipeUptoggleAirplaneModetoggleDatatoggleLocationServicestoggleTouchIdEnrollmenttoggleWiFitouchtouchActiontouchIdtouchMultiPerformtouchPerformunlock

property

getAttributegetCssPropertygetElementSizegetHTMLgetLocationgetLocationInViewgetSourcegetTagNamegetTextgetTitlegetUrlgetValue

protocol

actionsalertAcceptalertDismissalertTextapplicationCacheStatusbackbuttonDownbuttonPressbuttonUpcookiedoDoubleClickelementelementActiveelementIdAttributeelementIdClearelementIdClickelementIdCssPropertyelementIdDisplayedelementIdElementelementIdElementselementIdEnabledelementIdLocationelementIdLocationInViewelementIdNameelementIdPropertyelementIdRectelementIdScreenshotelementIdSelectedelementIdSizeelementIdTextelementIdValueelementsexecuteexecuteAsyncfileforwardframeframeParentimeActivateimeActivatedimeActiveEngineimeAvailableEnginesimeDeactivatedinitkeyslocalStoragelocalStorageSizelocationloglogTypesmoveTorefreshscreenshotsessionsessionStoragesessionStorageSizesessionssourcestatussubmittimeoutstimeoutsAsyncScripttimeoutsImplicitWaittitletouchClicktouchDowntouchFlicktouchLongClicktouchMovetouchScrolltouchUpurlwindowwindowHandlewindowHandleFullscreenwindowHandleMaximizewindowHandlePositionwindowHandleSizewindowHandles

state

hasFocusisEnabledisExistingisSelectedisVisibleisVisibleWithinViewport

utility

$$$addCommandcallchooseFiledebugendendAllgetCommandHistorypausereloadsaveScreenshotscrolluploadFilewaitForEnabledwaitForExistwaitForSelectedwaitForTextwaitForValuewaitForVisiblewaitUntil

window

closegetCurrentTabIdgetTabIdsgetViewportSizenewWindowsetViewportSizeswitchTab
View Source Improve this doc

touch

Put finger on an element (only in mobile context).

Usage

1
browser.touch(selector,longClick);

Parameters

Param Type Details
selector String element to put finger on
longClick Boolean if true touch click will be long (default: false)

Uses

  • protocol/element
  • protocol/touchClick
  • protocol/touchLongClick

This project is maintained by:

@WebdriverIO @bromann @georgeocrawford @vvoyer @camilotapia
Need help?

If you have questions or any problems using WebdriverIO join the Gitter Chat, hit us contributor on Twitter or just file an issue on Github. We will try to get back to you as soon as possible.
Also if you miss any feature, let us know so we can make WebdriverIO even better. For news or announcements check @WebdriverIO on Twitter.

We ♥ testing!