mirror of
https://github.com/servo/servo.git
synced 2025-09-27 15:20:09 +01:00
webdriver: Wait animation frame callbacks before taking (element) screenshot (#39539)
According to spec, we should wait animation frame callbacks before taking (element) screenshot. As "element screenshot" would automatically scroll into view, this solves intermittency. Testing: Manually tested on pages, and `take_element_screenshot/scroll_into_view.py` passes stably now. Fixes: #39306 --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
parent
5f5f2abc0f
commit
6aa82309c3
4 changed files with 7 additions and 4 deletions
|
@ -1,3 +0,0 @@
|
|||
[scroll_into_view.py]
|
||||
[test_scroll_into_view]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue