-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
Xpath2 is not working on appium #475
Comments
[info] �[35m[Appium]�[39m Welcome to Appium v1.22.3 |
This is due to a known bug in eclipse xpath2 parser. You could enforce xpath1 usage as a possible workaround using enforceXPath1 setting |
@mykola-mokhnach I tried this but still same issue. please find below capabilities I use: { |
Please read the documentation carefully.
|
@mykola-mokhnach thank you, can you please let me know how can i pass this setting?
|
You can always set settings in capabilities like this: |
@jlipps I tried it but I am getting an error. |
As the README points out, you'll need the uiauto2 driver at 4.25.0 or greater, which is only available in Appium 2. |
An unknown server-side error occurred while processing the command. Original error: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType
The text was updated successfully, but these errors were encountered: