mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
Implement support for WebDriver send keys command.
Supports sending keys to an element. The specification here is still rather unfinished so the error handling and so on in this code will need iteration as it becomes clearer what the expected behaviour is.
This commit is contained in:
parent
db94fda10e
commit
09b9293b09
7 changed files with 252 additions and 2 deletions
|
@ -1086,6 +1086,8 @@ impl ScriptTask {
|
|||
webdriver_handlers::handle_find_element_css(&page, pipeline_id, selector, reply),
|
||||
WebDriverScriptCommand::FindElementsCSS(selector, reply) =>
|
||||
webdriver_handlers::handle_find_elements_css(&page, pipeline_id, selector, reply),
|
||||
WebDriverScriptCommand::FocusElement(element_id, reply) =>
|
||||
webdriver_handlers::handle_focus_element(&page, pipeline_id, element_id, reply),
|
||||
WebDriverScriptCommand::GetActiveElement(reply) =>
|
||||
webdriver_handlers::handle_get_active_element(&page, pipeline_id, reply),
|
||||
WebDriverScriptCommand::GetElementTagName(node_id, reply) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue