• I/O

  • Home
  • Developer Guide
  • API
  • Contribute
  • Link to GitHub
    • v3.4
    • v4.7
    • v4.8
    • v4.9
    • Latest
clear

action

addValueclearElementclickdoubleClickdragAndDropleftClickmiddleClickmoveToObjectrightClickselectByIndexselectByNameselectByValueselectByVisibleTextselectorExecuteselectorExecuteAsyncsetValuesubmitForm

appium

backgroundAppcloseAppcontextcontextsdeviceKeyEventgetAppStringsgetCurrentDeviceActivitygetNetworkConnectionhideDeviceKeyboardinstallAppOnDeviceisAppInstalledOnDevicelaunchApplockopenNotificationsperformMultiActionperformTouchActionpullFileFromDevicepushFileToDeviceremoveAppFromDeviceresetApprotatesetImmediateValueInAppsetNetworkConnectionshaketoggleAirplaneModeOnDevicetoggleDataOnDevicetoggleLocationServicesOnDevicetoggleWiFiOnDevice

cookie

deleteCookiegetCookiesetCookie

mobile

flickflickDownflickLeftflickRightflickUpgetGeoLocationgetOrientationholdreleasesetGeoLocationsetOrientationtouch

property

getAttributegetCssPropertygetElementSizegetHTMLgetLocationgetLocationInViewgetSourcegetTagNamegetTextgetTitlegetUrlgetValue

protocol

alertAcceptalertDismissalertTextapplicationCacheStatusbackbuttonDownbuttonPressbuttonUpcookiedoDoubleClickelementelementActiveelementIdAttributeelementIdClearelementIdClickelementIdCssPropertyelementIdDisplayedelementIdElementelementIdElementselementIdEnabledelementIdLocationelementIdLocationInViewelementIdNameelementIdSelectedelementIdSizeelementIdTextelementIdValueelementsexecuteexecuteAsyncfileforwardframeframeParentimeActivateimeActivatedimeActiveEngineimeAvailableEnginesimeDeactivatedinitkeyslocalStoragelocalStorageSizelocationloglogTypesmoveToorientationrefreshscreenshotsessionsessionStoragesessionStorageSizesessionssourcestatussubmittimeoutstimeoutsAsyncScripttimeoutsImplicitWaittitletouchClicktouchDoubleClicktouchDowntouchFlicktouchLongClicktouchMovetouchScrolltouchUpurlwindowwindowHandlewindowHandleMaximizewindowHandlePositionwindowHandleSizewindowHandles

state

isEnabledisExistingisSelectedisVisibleisVisibleWithinViewport

utility

addCommandchooseFiledebugendendAllgetCommandHistorypausesaveScreenshotscrolluploadFilewaitForEnabledwaitForExistwaitForSelectedwaitForTextwaitForValuewaitForVisiblewaitUntil

window

closegetCurrentTabIdgetTabIdsgetViewportSizenewWindowsetViewportSizeswitchTab

dragAndDrop

Drag an item to a destination element.

Usage

1
client.dragAndDrop(sourceElem,destinationElem).then(callback);

Parameters

Param Type Details
sourceElem String source selector
destinationElem String destination selector

Uses

  • action/moveToObject
  • protocol/buttonDown
  • protocol/buttonUp
  • property/getLocation
  • protocol/touchDown
  • protocol/touchMove
  • protocol/touchUp

This project is maintained by:

@WebdriverIO @bromann @georgeocrawford @zeroload @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!