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

openNotifications

Open Android notifications.

Note: Falls back to the deprecated Appium 2 protocol endpoint if the driver does not support the mobile: execute method.

Usage

await browser.openNotifications()

Example

openNotifications.js
it('should open the Android notification shade', async () => {
await browser.openNotifications()
})

Support

Support for android

Supported platforms: Android

नोट

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

Welcome! How can I help?

WebdriverIO AI Copilot