Implement tag name selector for FindElementFromElement WebDriver command

This commit is contained in:
George Roman 2019-06-17 17:03:09 +03:00
parent dec73e4cea
commit 616a81fb27
5 changed files with 54 additions and 16 deletions

View file

@ -2052,6 +2052,15 @@ impl ScriptThread {
reply,
)
},
WebDriverScriptCommand::FindElementElementTagName(selector, element_id, reply) => {
webdriver_handlers::handle_find_element_element_tag_name(
&*documents,
pipeline_id,
element_id,
selector,
reply,
)
},
WebDriverScriptCommand::FindElementElementsCSS(selector, element_id, reply) => {
webdriver_handlers::handle_find_element_elements_css(
&*documents,