Skip to content

[Playwright] Fix ignore region & clip positioning when page is scrolled prior to snapshot #189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 20, 2025

Conversation

omacranger
Copy link
Member

@omacranger omacranger commented Feb 19, 2025

Description

Offsets the ignore region & clip calculation with the current scroll offset on the window

Types of Changes

What types of changes does your code introduce? Keep the ones that apply:

  • Bug fix (non-breaking change which fixes an issue)

Before:

Screenshot 2025-02-19 at 12 16 02

After:

Screenshot 2025-02-19 at 12 16 17

@omacranger omacranger merged commit 559164d into main Feb 20, 2025
2 checks passed
@omacranger omacranger deleted the bugfix/playwright-scroll-regions branch February 20, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants