aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorGeorge Roman <george.roman.99@gmail.com>2019-06-17 16:35:34 +0300
committerGeorge Roman <george.roman.99@gmail.com>2019-07-21 15:56:23 +0300
commitdec73e4cea93d34736c925d4bd62e57b7d664f6b (patch)
treee377a927b1f60cf6d0ffa46a682ff14275deb5ae /components/script/script_thread.rs
parent7d5b324bdac227d173d595116219cb8b9cbf1282 (diff)
downloadservo-dec73e4cea93d34736c925d4bd62e57b7d664f6b.tar.gz
servo-dec73e4cea93d34736c925d4bd62e57b7d664f6b.zip
Implement tag name selector for FindElements WebDriver command
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 6263628ea3a..7b0aa00564c 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -2035,6 +2035,14 @@ impl ScriptThread {
reply,
)
},
+ WebDriverScriptCommand::FindElementsTagName(selector, reply) => {
+ webdriver_handlers::handle_find_elements_tag_name(
+ &*documents,
+ pipeline_id,
+ selector,
+ reply,
+ )
+ },
WebDriverScriptCommand::FindElementElementCSS(selector, element_id, reply) => {
webdriver_handlers::handle_find_element_element_css(
&*documents,