aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
diff options
context:
space:
mode:
authorJames Graham <james@hoppipolla.co.uk>2015-11-17 13:43:36 +0000
committerJames Graham <james@hoppipolla.co.uk>2015-11-18 11:52:05 +0000
commit6446cc3db8ae42c6a24498ddd2293d271c204753 (patch)
tree1009ad1d65421a9cfa9a016775fc86bc1c1ef63e /components/script/script_task.rs
parentcedaac8dbe44e23b7bb7335c470e9e48ee1e6139 (diff)
downloadservo-6446cc3db8ae42c6a24498ddd2293d271c204753.tar.gz
servo-6446cc3db8ae42c6a24498ddd2293d271c204753.zip
Implement Get Element Attribute WebDriver command
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r--components/script/script_task.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs
index d2fc0a93917..028e014f660 100644
--- a/components/script/script_task.rs
+++ b/components/script/script_task.rs
@@ -1092,6 +1092,8 @@ impl ScriptTask {
webdriver_handlers::handle_get_active_element(&page, pipeline_id, reply),
WebDriverScriptCommand::GetElementTagName(node_id, reply) =>
webdriver_handlers::handle_get_name(&page, pipeline_id, node_id, reply),
+ WebDriverScriptCommand::GetElementAttribute(node_id, name, reply) =>
+ webdriver_handlers::handle_get_attribute(&page, pipeline_id, node_id, name, reply),
WebDriverScriptCommand::GetElementText(node_id, reply) =>
webdriver_handlers::handle_get_text(&page, pipeline_id, node_id, reply),
WebDriverScriptCommand::GetFrameId(frame_id, reply) =>