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
Name | Value | Description |
---|---|---|
Text | String | Text to send to the assistant service |
Usage
info
Replace <server> with the appropriate URL.
- Public Continuous Testing Cloud - https://cloud.seetest.io/wd/hub/.
- Dedicated Continuous Testing Cloud environment - Your own domain. For example: https://company.experitest.com/wd/hub/
- On-premises Continuous Testing Cloud environment - Your designated URL. For example: https://company.com/wd/hub
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");