UNPKG

@christian-bromann/webdriverio

Version:

A nodejs bindings implementation for selenium 2.0/webdriver

24 lines (21 loc) 444 B
/** * * Perform a shake action on the device. * * <example> :shakeItSync.js browser.shake() * </example> * * @see https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/appium-bindings.md#shake * @type mobile * @for ios * */ let shake = function () { return this.requestHandler.create({ path: '/session/:sessionId/appium/device/shake', method: 'POST' }) } export default shake