AccessibilityStart
Description
Use this command to run the Accessibility Inspector service on the device.
The service continues until [AccessibilityStop](../accessibility-inspection/accessibilitystop.md)
is called, or the driver is released.
This command performs a home action. Therefore, you need to relaunch the application afterward.
Parameters
- Android - TargetPackage of the application
- iOS - None.
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
Java Example
iOS AccessibilityStart
DesiredCapabilities dc = new DesiredCapabilities();
dc.setCapability(MobileCapabilityType.UDID, "<deviceid>");
driver = new IOSDriver(new URL("<server>"), dc);
SeeTestClient seetest = new SeeTestClient(driver);
...
...
seetest.accessibilityStart();
Android AccessibilityStart
DesiredCapabilities dc = new DesiredCapabilities();
dc.setCapability(MobileCapabilityType.UDID, "<deviceid>");
driver = new AndroidDriver(new URL("<server>"), dc);
SeeTestClient seetest = new SeeTestClient(driver);
...
...
seetest.accessibilityStart("com.experitest.ExperiBank");