Implement tag name selector for FindElement WebDriver command

This commit is contained in:
George Roman 2019-06-17 16:10:38 +03:00
parent 4128a38936
commit 7d5b324bda
5 changed files with 45 additions and 15 deletions

View file

@ -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,