mirror of
https://github.com/servo/servo.git
synced 2025-06-09 17:13:24 +00:00
Implement WebDriver FindElementFromElement command
This commit is contained in:
parent
db29cb01b0
commit
46cd0d17ee
4 changed files with 66 additions and 0 deletions
|
@ -1807,6 +1807,15 @@ impl ScriptThread {
|
|||
reply,
|
||||
)
|
||||
},
|
||||
WebDriverScriptCommand::FindElementElementCSS(selector, element_id, reply) => {
|
||||
webdriver_handlers::handle_find_element_element_css(
|
||||
&*documents,
|
||||
pipeline_id,
|
||||
element_id,
|
||||
selector,
|
||||
reply,
|
||||
)
|
||||
},
|
||||
WebDriverScriptCommand::FocusElement(element_id, reply) => {
|
||||
webdriver_handlers::handle_focus_element(
|
||||
&*documents,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue