mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00

References #14037. We used to query and save all non-zero `scrollTop`/`scrollLeft` to restore the page perfectly. However, this became very slow with Chromium v100 regression (see issue). This change only queries and stores `scrollTop`/`scrollLeft` for elements that are ancestors of the action target. The resulting snapshot does not perfectly recreate the original screen, but should be good enough to inspect the action.
playwright-core
This package contains the no-browser flavor of Playwright.