You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would best fit into WebDriverActions, however it already includes release() method, which releases mouse button (via OSS buttonup / W3C pointerUp action).
Possible solution is:
rename release() method to eg. releaseMouse()
add release() method, marked as deprecated, which just calls releaseMouse() (so that we keep backward compatibility)
add new releaseActions() method (available only in W3C mode) which will actually execute the release actions endpoint.
in php-webdriver 2.0 remove release() method and rename releaseActions() to release().
In case we decide we don't need to implement this in 1.x version and don't need to maintain BC, we can skip steps 2. and 3. and just implement new release() method.
There should also be tests covering the release endpoint.
The text was updated successfully, but these errors were encountered:
The Release Actions command is used to release all the keys and pointer buttons that are currently depressed. This causes events to be fired as if the state was released by an explicit series of actions. It also clears all the internal state of the virtual devices.
So basically it is what release() is currently mimicking (via explicit pointerUp action). Plus it releases keyboard and other pointers, not only mouse. And I think we don't need to keep the current "release-mouse-only" implementation in W3C mode - I guess W3C specs comes with the release definition as replacement for this kind of explicit client actions. So it should be safe to use them instead in W3C mode.
Implement missing W3C WebDriver Release Actions endpoint:
DELETE /session/{session id}/actions
It would best fit into WebDriverActions, however it already includes
release()
method, which releases mouse button (via OSSbuttonup
/ W3CpointerUp
action).Possible solution is:
release()
method to eg.releaseMouse()
release()
method, marked as deprecated, which just callsreleaseMouse()
(so that we keep backward compatibility)releaseActions()
method (available only in W3C mode) which will actually execute the release actions endpoint.release()
method and renamereleaseActions()
torelease()
.In case we decide we don't need to implement this in 1.x version and don't need to maintain BC, we can skip steps 2. and 3. and just implement new
release()
method.There should also be tests covering the release endpoint.
The text was updated successfully, but these errors were encountered: