Fix mistakes in webdriver element send keys (#37286)

Fix mistakes from https://github.com/servo/servo/pull/37224. We should
return in the middle of send keys if the element is either file input or
non typeable form control.

Fixes:
https://github.com/servo/servo/pull/37224#pullrequestreview-2903871157

Signed-off-by: PotatoCP <kenzieradityatirtarahardja18@gmail.com>
This commit is contained in:
Kenzie Raditya Tirtarahardja 2025-06-06 20:39:15 +08:00 committed by GitHub
parent d246e80844
commit 097bd9d87f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -4,3 +4,6 @@
[test_textarea_append]
expected: FAIL
[test_date]
expected: FAIL

View file

@ -7,6 +7,3 @@
[test_no_such_element_from_other_window_handle[closed\]]
expected: FAIL
[test_surrogates]
expected: FAIL