Skip to main content

Description   

Use this command to activate the voice assistant service on the device (for example, Siri or Google Assistant). It sends the text parameter as if it is a spoken directive.

Parameters

NameValueDescription
TextStringText to send to the assistant service

Usage

info

Replace <server> with the appropriate URL.

Example

ActivateVoiceAssistance

DesiredCapabilities dc = new DesiredCapabilities();
driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);
dc.setCapability(MobileCapabilityType.UDID, "<deviceid>");

...
...
seetest.activateVoiceAssistance("open google");