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

problem with enforceXPath1 capability in appium 2.0 #2957

Open
guseche opened this issue Oct 24, 2022 · 1 comment
Open

problem with enforceXPath1 capability in appium 2.0 #2957

guseche opened this issue Oct 24, 2022 · 1 comment

Comments

@guseche
Copy link

guseche commented Oct 24, 2022

at the time appium.enforceXPath1=true capability is sent from serenity.conf, I get the following error message

Caused by: net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate new WebDriver instance of type class io.appium.java_client.AppiumDriver (Could not start a new session. Response code 500. Message: A new session could not be created. Details: io.appium.uiautomator2.common.exceptions.InvalidArgumentException: Invalid 'enforceXPath1' setting value type. Got: java.lang.String. Expected: java.lang.Boolean.

but if it is sent in the appium inspector it does not give an error

wakaleo added a commit that referenced this issue Oct 24, 2022
@wakaleo
Copy link
Member

wakaleo commented Oct 26, 2022

Try with version 3.3.7, there is a possible fix in this release.

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

No branches or pull requests

2 participants