DevTools protocol: introduce DOM.scrollIntoViewIfNeeded
This method allows to scroll specific rect into view if needed and ensure that no scrolling animations run. This ability is required for browser automation, for example to test user interaction with specific region of the element. Bug: 1049173 Change-Id: I7163d1cfd6ae17a676c64727ab3151d0300a6ec0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2037847 Commit-Queue: Dmitry Gozman <dgozman@chromium.org> Reviewed-by:Pavel Feldman <pfeldman@chromium.org> Cr-Commit-Position: refs/heads/master@{#738973}
Showing
Please register or sign in to comment