Repository navigation
Draft: Add verification of response in case of unknown command response - #117
vasilake-v wants to merge 1 commit into
Conversation
deprecate the "moveto" method
|
In the |
@robocoder thanks for checking this out ! I will double check this locally and report back |
|
@robocoder I tested it with master version of 1.x and it's working ! Based on the comment above, this adjustment also "landed" in the 1.x version. And, if i may ask, when a next release is planned for... or when would happen ? Why I am asking is that the Thanks! |
|
@slava-v : thanks for the feedback; I've tagged 1.4.15 |
@robocoder Thank you ! For quick ⚡ and prompt support! 👍 We are now on version 1.4.15 of php-webdriver and selenium/node-chrome 4.3.0 🎉 |
Fixes the behavior for version 4.3 of selenium-hub and node-chrome
based on my findings https://www.selenium.dev/documentation/webdriver/elements/interactions/#additional-validations, the version 4 of selenium/webdriver the
click()doesn't required amoveto()call to ensure the element is in viewport.Previous version required to have the element in view port and for that the
moveto()was used. But in version 4 the commandmovetois missing andclick()behaves like 2 in 1Possible Replacements
There is
moveToElement. I tested several payloads but i always receive the:{ "value": { "error": "invalid argument", "message": "Unable to determine element locating strategy", "stacktrace": "" } }So this is a dead end for me atm.
Tested with
selenium/hub:4.3.0-20220726
selenium/node-chrome:4.3.0-20220726
..also
I was considering changes in the
\WebDriver\Session, to move the methodmoveto()frommethods()-->obsoleteMethods(). While this seems to be a good approach, this will introduce breaking changes and if we leave the changes only inlib/WebDriver/AbstractWebDriver.phpis backwards compatible.I am open to suggestions