diff options
author | George Roman <george.roman.99@gmail.com> | 2019-03-03 10:28:10 +0200 |
---|---|---|
committer | George Roman <george.roman.99@gmail.com> | 2019-03-09 16:56:51 +0200 |
commit | 46cd0d17ee728c2ff28553e560b8d3458149f76c (patch) | |
tree | e33bfb1bcc2cf771ea5ebf9c03e2f0566627f31a /components/script/script_thread.rs | |
parent | db29cb01b0450c29d0ac45c6de2819a4f87e400a (diff) | |
download | servo-46cd0d17ee728c2ff28553e560b8d3458149f76c.tar.gz servo-46cd0d17ee728c2ff28553e560b8d3458149f76c.zip |
Implement WebDriver FindElementFromElement command
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 448acd23790..a44f6920a9e 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -1807,6 +1807,15 @@ impl ScriptThread { reply, ) }, + WebDriverScriptCommand::FindElementElementCSS(selector, element_id, reply) => { + webdriver_handlers::handle_find_element_element_css( + &*documents, + pipeline_id, + element_id, + selector, + reply, + ) + }, WebDriverScriptCommand::FocusElement(element_id, reply) => { webdriver_handlers::handle_focus_element( &*documents, |