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.
Mobilecli engine (beta): not supported yet. Run tests that use this command with Appium.