aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/lib.rs
diff options
context:
space:
mode:
authorGeorge Roman <george.roman.99@gmail.com>2019-07-12 22:00:46 +0300
committerGeorge Roman <george.roman.99@gmail.com>2019-08-10 23:18:03 +0300
commit75efb09147e3917965e29a70ed7783148ca91b6e (patch)
treef06827f789c24ed85b720d0d9b1fc9bc098a58dd /components/script_traits/lib.rs
parent79b456d84e94cb40cca3f043f34b29baf5c91e30 (diff)
downloadservo-75efb09147e3917965e29a70ed7783148ca91b6e.tar.gz
servo-75efb09147e3917965e29a70ed7783148ca91b6e.zip
Initial actions support in WebDriver
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r--components/script_traits/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs
index 08d59b04573..6a293c68ed0 100644
--- a/components/script_traits/lib.rs
+++ b/components/script_traits/lib.rs
@@ -798,6 +798,8 @@ pub enum WebDriverCommandMsg {
ScriptCommand(BrowsingContextId, WebDriverScriptCommand),
/// Act as if keys were pressed in the browsing context with the given ID.
SendKeys(BrowsingContextId, Vec<WebDriverInputEvent>),
+ /// Act as if keys were pressed or release in the browsing context with the given ID.
+ KeyboardAction(BrowsingContextId, KeyboardEvent),
/// Set the window size.
SetWindowSize(
TopLevelBrowsingContextId,