diff options
author | George Roman <george.roman.99@gmail.com> | 2019-06-18 22:02:27 +0300 |
---|---|---|
committer | George Roman <george.roman.99@gmail.com> | 2019-07-23 23:19:08 +0300 |
commit | e34a15c5ef268149daef79376a981108545fa34d (patch) | |
tree | c42840e82c17592f598dac82bd7658a11d103576 /components/script/script_thread.rs | |
parent | ef7b58f0cd02652d2d5c7d626d4a3f9790c080af (diff) | |
download | servo-e34a15c5ef268149daef79376a981108545fa34d.tar.gz servo-e34a15c5ef268149daef79376a981108545fa34d.zip |
Implement GetElementProperty 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 e6d91a1bc2e..482fb0fc7de 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -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) }, |