-
-
Notifications
You must be signed in to change notification settings - Fork 762
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
Client ignoring Capabilities and Bad Parameter Errors #924
Comments
Any meanings to this? |
@FelixHahn I will have a look at it soon |
I couldn't reproduce it in 1.8.1 or in latest appium source in W3C mode but it does fails if we forceMJSWP. |
@dpgraham ping |
Can one of you assign this to me |
@SrinivasanTarget The Does the Java client do that? |
@dpgraham if we set
|
Do you expect the payload constructed by java client shouldn't contain Also can you confirm the behavior in ruby client? |
@KazuCocoa How does the ruby_lib use |
@dpgraham |
@SrinivasanTarget just so you know, it's a non-standard capability, it's just there so that users can fall back to MJSONWP. |
Description
The Java client seems to send the w3c desired capabilities in a wrong format so that the server throws an error. And the client is not sending some capabilities such as forceMjsonwp capability
Environment
Details
I always get a w3c bad parameter error if I want to set the implicit wait time outs.
Therefore I treid to force MJSONWP Protocol with forceMjsonwp capability. But forceMjsonwp capability is not send from java client to appium server. Seems like client is ignoring this capability.
If I try to add the forceMjsonwp capability manually into a session I created by hand with a rest client everything works fine.
I tried to set forceMjsonwp capability in both ways
capabilities.setCapability(MobileCapabilityType.FORCE_MJSONWP, true);
capabilities.setCapability("forceMjsonwp ", true);
Neither is send from client to server.
Code To Reproduce Issue
Link to Appium logs
https://gist.github.com/FelixHahn/93faef358769bebdd34f931303b5a1ba
The text was updated successfully, but these errors were encountered: