diff options
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 6a293c68ed0..5aac6b47e5e 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -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, |