mirror of
https://github.com/servo/servo.git
synced 2025-06-08 08:33:26 +00:00
Change wb command to SendKeysSetup, since the command is specific to SendKeys
Signed-off-by: PotatoCP <kenzieradityatirtarahardja18@gmail.com>
This commit is contained in:
parent
9bf7c7849d
commit
a3d88a93c0
4 changed files with 17 additions and 17 deletions
|
@ -2266,20 +2266,6 @@ impl ScriptThread {
|
|||
can_gc,
|
||||
)
|
||||
},
|
||||
WebDriverScriptCommand::FocusElement(
|
||||
strict_file_interactability,
|
||||
text,
|
||||
element_id,
|
||||
reply,
|
||||
) => webdriver_handlers::handle_focus_element(
|
||||
&documents,
|
||||
pipeline_id,
|
||||
element_id,
|
||||
text,
|
||||
strict_file_interactability,
|
||||
reply,
|
||||
can_gc,
|
||||
),
|
||||
WebDriverScriptCommand::ElementClick(element_id, reply) => {
|
||||
webdriver_handlers::handle_element_click(
|
||||
&documents,
|
||||
|
@ -2385,6 +2371,20 @@ impl ScriptThread {
|
|||
WebDriverScriptCommand::GetTitle(reply) => {
|
||||
webdriver_handlers::handle_get_title(&documents, pipeline_id, reply)
|
||||
},
|
||||
WebDriverScriptCommand::SendKeysSetup(
|
||||
strict_file_interactability,
|
||||
text,
|
||||
element_id,
|
||||
reply,
|
||||
) => webdriver_handlers::handle_send_keys_setup(
|
||||
&documents,
|
||||
pipeline_id,
|
||||
element_id,
|
||||
text,
|
||||
strict_file_interactability,
|
||||
reply,
|
||||
can_gc,
|
||||
),
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue