From 6446cc3db8ae42c6a24498ddd2293d271c204753 Mon Sep 17 00:00:00 2001 From: James Graham Date: Tue, 17 Nov 2015 13:43:36 +0000 Subject: Implement Get Element Attribute WebDriver command --- components/script/script_task.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/script/script_task.rs') 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) => -- cgit v1.2.3