aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorGeorge Roman <george.roman.99@gmail.com>2019-03-03 10:28:10 +0200
committerGeorge Roman <george.roman.99@gmail.com>2019-03-09 16:56:51 +0200
commit46cd0d17ee728c2ff28553e560b8d3458149f76c (patch)
treee33bfb1bcc2cf771ea5ebf9c03e2f0566627f31a /components/script/script_thread.rs
parentdb29cb01b0450c29d0ac45c6de2819a4f87e400a (diff)
downloadservo-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.rs9
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,