forked from enviPath/enviPy
22 lines
427 B
JavaScript
22 lines
427 B
JavaScript
/**
|
|
*
|
|
* Perform a shake action on the device.
|
|
*
|
|
* <example>
|
|
:shakeIt.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
|
|
*
|
|
*/
|
|
|
|
export default function shake () {
|
|
return this.requestHandler.create({
|
|
path: '/session/:sessionId/appium/device/shake',
|
|
method: 'POST'
|
|
})
|
|
}
|