diff options
author | George Roman <george.roman.99@gmail.com> | 2019-08-28 00:00:23 +0300 |
---|---|---|
committer | George Roman <george.roman.99@gmail.com> | 2019-08-31 10:14:40 +0300 |
commit | 32f7254883d573f0704fc885243f998e5f62c0b4 (patch) | |
tree | 200d6ebd35bbc3a93e06d9f3b2c5d57680af1bd6 /components/script/script_thread.rs | |
parent | b2a7fc9046b8488525adea93d8869b264280bfc8 (diff) | |
download | servo-32f7254883d573f0704fc885243f998e5f62c0b4.tar.gz servo-32f7254883d573f0704fc885243f998e5f62c0b4.zip |
Implement ElementClick wd command
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index eaffa1d6ef6..4cda69cdced 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -2159,6 +2159,14 @@ impl ScriptThread { reply, ) }, + WebDriverScriptCommand::ElementClick(element_id, reply) => { + webdriver_handlers::handle_element_click( + &*documents, + pipeline_id, + element_id, + reply, + ) + }, WebDriverScriptCommand::GetActiveElement(reply) => { webdriver_handlers::handle_get_active_element(&*documents, pipeline_id, reply) }, |