Skip to main content

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.

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");