aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorGeorge Roman <george.roman.99@gmail.com>2019-06-17 16:10:38 +0300
committerGeorge Roman <george.roman.99@gmail.com>2019-07-21 15:55:19 +0300
commit7d5b324bdac227d173d595116219cb8b9cbf1282 (patch)
treea2ad301302558fab0233b34bd64d21609d47638b /components/script/script_thread.rs
parent4128a3893662c61a19b9316cd19eab7533518453 (diff)
downloadservo-7d5b324bdac227d173d595116219cb8b9cbf1282.tar.gz
servo-7d5b324bdac227d173d595116219cb8b9cbf1282.zip
Implement tag name selector for FindElement 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 ba1741ba321..6263628ea3a 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -2019,6 +2019,14 @@ impl ScriptThread {
reply,
)
},
+ WebDriverScriptCommand::FindElementTagName(selector, reply) => {
+ webdriver_handlers::handle_find_element_tag_name(
+ &*documents,
+ pipeline_id,
+ selector,
+ reply,
+ )
+ },
WebDriverScriptCommand::FindElementsCSS(selector, reply) => {
webdriver_handlers::handle_find_elements_css(
&*documents,