From 83b2388ef4deb6eaa3d26088d0e78c07bca4e7cf Mon Sep 17 00:00:00 2001 From: Daniel Robertson Date: Sat, 20 Feb 2016 19:45:10 +0000 Subject: Implement GetElementRect webdriver command Implement the webdriver Get Element Rect command --- components/script/script_thread.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/script/script_thread.rs') diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 1f4a82ec02d..ddf32f85406 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -1246,6 +1246,8 @@ impl ScriptThread { webdriver_handlers::handle_get_attribute(&page, pipeline_id, node_id, name, reply), WebDriverScriptCommand::GetElementCSS(node_id, name, reply) => webdriver_handlers::handle_get_css(&page, pipeline_id, node_id, name, reply), + WebDriverScriptCommand::GetElementRect(node_id, reply) => + webdriver_handlers::handle_get_rect(&page, pipeline_id, node_id, 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