shake
Perform a shake action on the device. Supports iOS Simulator and real devices.
Usage​
await browser.shake()
Example​
shake.js
it('should shake the device', async () => {
await browser.shake()
})
Support​
Supported platforms: iOS
note
Refer to the official Appium driver documentation to see which driver versions support this command.