mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix mistakes in webdriver element send keys
Signed-off-by: PotatoCP <kenzieradityatirtarahardja18@gmail.com>
This commit is contained in:
parent
a328aa474b
commit
ec4ea40b6c
3 changed files with 4 additions and 4 deletions
|
@ -1633,7 +1633,7 @@ impl Handler {
|
||||||
// TODO: distinguish the not found and not focusable cases
|
// TODO: distinguish the not found and not focusable cases
|
||||||
// File input and non-typeable form control should have
|
// File input and non-typeable form control should have
|
||||||
// been handled in `webdriver_handler.rs`.
|
// been handled in `webdriver_handler.rs`.
|
||||||
if wait_for_script_response(receiver)?.map_err(|error| WebDriverError::new(error, ""))? {
|
if !wait_for_script_response(receiver)?.map_err(|error| WebDriverError::new(error, ""))? {
|
||||||
return Ok(WebDriverResponse::Void);
|
return Ok(WebDriverResponse::Void);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,3 +4,6 @@
|
||||||
|
|
||||||
[test_textarea_append]
|
[test_textarea_append]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[test_date]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -7,6 +7,3 @@
|
||||||
|
|
||||||
[test_no_such_element_from_other_window_handle[closed\]]
|
[test_no_such_element_from_other_window_handle[closed\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_surrogates]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue