Closed AaronC81 closed 7 months ago
Maybe it was in selenium webdriver side's something. What about v11? (Maybe selenium v4 based Ruby client v12 (latest version) does not have the endpoint)
https://github.com/search?q=repo%3ASeleniumHQ%2Fselenium+double_click+language%3ARuby&type=code&l=Ruby The latest selenium client perhaps does not have the endpoint.
This is a
Summary
When using
driver.action.double_click.perform
, ruby_lib makes a POST request to/doubleclick
with an empty JSON body. WinAppDriver does not accept this and reports an unknown error:On the other hand, Appium-Python-Client sends a body with a
sessionId
key, and this works successfully:/doubleclick
also works when sending no body at all, using cURL.I don't know for certain what WinAppDriver is actually doing with this body, but it looks like the Ruby library should send either an empty body, or a body with a
sessionId
key.Environment
ruby_lib
version: 9.0.0Actual behaviour and steps to reproduce
driver.action.double_click.perform
Expected behaviour
Double clicks as expected with no exception
Link to Appium/Ruby logs
https://gist.github.com/AaronC81/bdd3332168ddbe8b5a3e0cb42c1055a7