shake
Perform a shake action on the device. Supports iOS Simulator and real devices.
Note: Falls back to the deprecated Appium 2 protocol endpoint if the driver does not support the
mobile:execute method.
Usage
browser.shake()
Example
shake.js
it('should shake the device', async () => {
await browser.shake()
})
Support
குறிப்பு
Refer to the official Appium driver documentation to see which driver versions support this command.