Implement pointerDown and pointerUp webdriver actions

This commit is contained in:
George Roman 2019-07-27 00:20:50 +03:00
parent 6a637ceffb
commit 225cecf661
5 changed files with 160 additions and 28 deletions

View file

@ -800,6 +800,8 @@ pub enum WebDriverCommandMsg {
SendKeys(BrowsingContextId, Vec<WebDriverInputEvent>),
/// Act as if keys were pressed or release in the browsing context with the given ID.
KeyboardAction(BrowsingContextId, KeyboardEvent),
/// Act as if the mouse was clicked in the browsing context with the given ID.
MouseButtonAction(MouseEventType, MouseButton, f32, f32),
/// Set the window size.
SetWindowSize(
TopLevelBrowsingContextId,