Open maryolivier opened 5 years ago
My thought is to make a new method called send_keys_to_element and leave the old method available until it's no longer needed at all.
Last year I was working on adding W3C WebDriver support to Wallaby, and while the work is not merged upstream yet (and I don't work with Wallaby much anymore so it's more likely to be implemented by someone else), I think it could be useful to anyone working on this.
Additionally, I know @aaronrenner is working on web_driver_client
which aims to provide clients for all "WebDriver" protocols as well as a common interface to them - this also could be useful.
Background
As of now, I need to disable w3c mode within my passed in chromeOptions in order to avoid errors that occur when I use
.send_keys()
. It seems that the latest versions of chrome/chromedriver do not support command sendKeysToActiveElement. I'm going to start here: https://chromium.googlesource.com/chromium/src/+/master/docs/chromedriver_status and see if i can submit a PR for this.Workaround
(not sure how long this will last so I'd like to fix as soon as possible)