diff options
author | George Roman <george.roman.99@gmail.com> | 2019-06-17 17:43:40 +0300 |
---|---|---|
committer | George Roman <george.roman.99@gmail.com> | 2019-07-21 15:57:26 +0300 |
commit | bf6ea64e8c2b12b57fbb755a81c2de3f3a3c3c83 (patch) | |
tree | 1666583d79798f506f417bbea71ecec39cd5c04e /components/script/script_thread.rs | |
parent | 616a81fb279a95019b321233d1d65ddd467f927d (diff) | |
download | servo-bf6ea64e8c2b12b57fbb755a81c2de3f3a3c3c83.tar.gz servo-bf6ea64e8c2b12b57fbb755a81c2de3f3a3c3c83.zip |
Implement tag name selector for FindElementsFromElement WebDriver 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 63fadc07b4c..ae18f075b0e 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -2070,6 +2070,15 @@ impl ScriptThread { reply, ) }, + WebDriverScriptCommand::FindElementElementsTagName(selector, element_id, reply) => { + webdriver_handlers::handle_find_element_elements_tag_name( + &*documents, + pipeline_id, + element_id, + selector, + reply, + ) + }, WebDriverScriptCommand::FocusElement(element_id, reply) => { webdriver_handlers::handle_focus_element( &*documents, |