Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert AUTO_LAUNCH capability to options #2222

Open
fleytman opened this issue Aug 13, 2024 · 1 comment
Open

Revert AUTO_LAUNCH capability to options #2222

fleytman opened this issue Aug 13, 2024 · 1 comment

Comments

@fleytman
Copy link

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

@eglitise
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants