मुख्य सामग्री पर जाएं

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

Support for ios

नोट

Refer to the official Appium driver documentation to see which driver versions support this command.

Welcome! How can I help?

WebdriverIO AI Copilot