Implement GetElementProperty WebDriver command

This commit is contained in:
George Roman 2019-06-18 22:02:27 +03:00
parent ef7b58f0cd
commit e34a15c5ef
7 changed files with 107 additions and 18 deletions

View file

@ -2013,6 +2013,15 @@ impl ScriptThread {
reply,
)
},
WebDriverScriptCommand::GetElementProperty(node_id, name, reply) => {
webdriver_handlers::handle_get_property(
&*documents,
pipeline_id,
node_id,
name,
reply,
)
},
WebDriverScriptCommand::GetElementCSS(node_id, name, reply) => {
webdriver_handlers::handle_get_css(&*documents, pipeline_id, node_id, name, reply)
},