diff options
author | George Roman <george.roman.99@gmail.com> | 2019-07-31 00:18:27 +0300 |
---|---|---|
committer | George Roman <george.roman.99@gmail.com> | 2019-08-22 10:11:13 +0300 |
commit | f064883e07e7ad27a44d93d03a46a05bb3b6a24a (patch) | |
tree | 1d8fe26b2ea0cda09117f4247e4d788d90a06781 /components/script_traits/lib.rs | |
parent | 2a9b2fe027228b7a89c7c284e35795923d3e26b5 (diff) | |
download | servo-f064883e07e7ad27a44d93d03a46a05bb3b6a24a.tar.gz servo-f064883e07e7ad27a44d93d03a46a05bb3b6a24a.zip |
Implement pointerMove webdriver action
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index f0aa1516ca2..1aa37e56533 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -797,6 +797,8 @@ pub enum WebDriverCommandMsg { KeyboardAction(BrowsingContextId, KeyboardEvent), /// Act as if the mouse was clicked in the browsing context with the given ID. MouseButtonAction(MouseEventType, MouseButton, f32, f32), + /// Act as if the mouse was moved in the browsing context with the given ID. + MouseMoveAction(f32, f32), /// Set the window size. SetWindowSize( TopLevelBrowsingContextId, |