mirror of
https://github.com/servo/servo.git
synced 2025-06-13 02:44:29 +00:00
Add webdriver command Find elements from element
This commit is contained in:
parent
0b19a3dbfb
commit
816e599db3
4 changed files with 67 additions and 1 deletions
|
@ -1872,6 +1872,15 @@ impl ScriptThread {
|
|||
reply,
|
||||
)
|
||||
},
|
||||
WebDriverScriptCommand::FindElementElementsCSS(selector,element_id,reply) => {
|
||||
webdriver_handlers::handle_find_element_elements_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