From 225cecf66126fee386fd071cc9d8caeb8503f536 Mon Sep 17 00:00:00 2001 From: George Roman Date: Sat, 27 Jul 2019 00:20:50 +0300 Subject: Implement pointerDown and pointerUp webdriver actions --- components/script_traits/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/script_traits/lib.rs') 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), /// 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, -- cgit v1.2.3