mirror of
https://github.com/servo/servo.git
synced 2025-09-20 11:50:09 +01:00
webdriver: Support "scroll into view" for commands (#38508)
Implement scroll into view steps for all WebDriver command that requires it (element click, element send keys, element clear, and take element screenshot). Testing: `element_send_keys/scroll_into_view.py`, `element_click/scroll_into_view.py`, `element_clear/clear.py` --------- Signed-off-by: PotatoCP <Kenzie.Raditya.Tirtarahardja@huawei.com>
This commit is contained in:
parent
9e9bd80bba
commit
097a69169a
7 changed files with 73 additions and 25 deletions
3
tests/wpt/meta/webdriver/tests/classic/element_click/interactability.py.ini
vendored
Normal file
3
tests/wpt/meta/webdriver/tests/classic/element_click/interactability.py.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[interactability.py]
|
||||
[test_element_not_visible_overflow_hidden]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[scroll_into_view.py]
|
||||
[test_scroll_into_view]
|
||||
expected: FAIL
|
|
@ -1,12 +1,3 @@
|
|||
[scroll_into_view.py]
|
||||
[test_contenteditable_element_outside_of_scrollable_viewport]
|
||||
expected: FAIL
|
||||
|
||||
[test_element_already_in_viewport[{block: 'start'}\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_element_already_in_viewport[{block: 'end'}\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_element_already_in_viewport[{block: 'nearest'}\]]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue