java-client icon indicating copy to clipboard operation
java-client copied to clipboard

Revert AUTO_LAUNCH capability to options

Open fleytman opened this issue 1 year ago • 1 comments

Description

In 8.5.1 java_client was "AndroidMobileCapabilityType.AUTO_LAUNCH", in java client 9.3.0 UiAutomator2Options there is no such option. Although this is the capability actual for UiAutomator2-driver. xcuitest driver also has this capability

fleytman avatar Aug 13 '24 22:08 fleytman

You can use the amend method for any capability that doesn't have a dedicated method, e.g.:

UiAutomator2Options options = new UiAutomator2Options()
    .amend("autoLaunch", "true")

eglitise avatar Aug 14 '24 20:08 eglitise