Skip to main content

gsmVoice

Set the GSM voice state on the Android emulator. Valid values: 'unregistered', 'home', 'roaming', 'searching', 'denied', 'off', 'on'.

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

Usage

await browser.gsmVoice(state)

Parameters

NameTypeDetails
statestringThe GSM voice state to set ('unregistered', 'home', 'roaming', 'searching', 'denied', 'off', 'on')

Example

gsmVoice.js
it('should set GSM voice state to home', async () => {
await browser.gsmVoice('home')
})

Support

Support for android

Supported platforms: Android

note

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

Welcome! How can I help?

WebdriverIO AI Copilot