diff options
author | James Graham <james@hoppipolla.co.uk> | 2015-06-16 17:32:42 +0100 |
---|---|---|
committer | James Graham <james@hoppipolla.co.uk> | 2015-11-16 22:48:26 +0000 |
commit | 09b9293b092a89aaca651f3ce655e5a97878e52c (patch) | |
tree | 67cf816cd300717b8d5c8d3d364680db1ce230e9 /components/msg/webdriver_msg.rs | |
parent | db94fda10e3351c96a0df61099d2fdfa481cc62b (diff) | |
download | servo-09b9293b092a89aaca651f3ce655e5a97878e52c.tar.gz servo-09b9293b092a89aaca651f3ce655e5a97878e52c.zip |
Implement support for WebDriver send keys command.
Supports sending keys to an element. The specification here is still
rather unfinished so the error handling and so on in this code will
need iteration as it becomes clearer what the expected behaviour is.
Diffstat (limited to 'components/msg/webdriver_msg.rs')
-rw-r--r-- | components/msg/webdriver_msg.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/msg/webdriver_msg.rs b/components/msg/webdriver_msg.rs index 63ac4aa7ffd..a0e6f83a57f 100644 --- a/components/msg/webdriver_msg.rs +++ b/components/msg/webdriver_msg.rs @@ -13,6 +13,7 @@ pub enum WebDriverScriptCommand { ExecuteAsyncScript(String, IpcSender<WebDriverJSResult>), FindElementCSS(String, IpcSender<Result<Option<String>, ()>>), FindElementsCSS(String, IpcSender<Result<Vec<String>, ()>>), + FocusElement(String, IpcSender<Result<(), ()>>), GetActiveElement(IpcSender<Option<String>>), GetElementTagName(String, IpcSender<Result<String, ()>>), GetElementText(String, IpcSender<Result<String, ()>>), |