mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Add support for getting an element's computed style through WebDriver.
This commit is contained in:
parent
0146751bb2
commit
f7258e4fcc
4 changed files with 36 additions and 0 deletions
|
@ -1108,6 +1108,8 @@ impl ScriptTask {
|
|||
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::GetElementCSS(node_id, name, reply) =>
|
||||
webdriver_handlers::handle_get_css(&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) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue