mirror of
https://github.com/servo/servo.git
synced 2025-06-12 18:34:39 +00:00
Implement GetElementRect webdriver command
Implement the webdriver Get Element Rect command
This commit is contained in:
parent
875f1e92cc
commit
83b2388ef4
4 changed files with 67 additions and 1 deletions
|
@ -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) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue