Skip to content

feat(screenshot): add scrollIntoView option to control scrolling behavior before taking screenshots#39732

Draft
Marcin3 wants to merge 2 commits intomicrosoft:mainfrom
Marcin3:add-scrollIntoView-option-to-disable-automatic-scroll-into-view-in-toHaveScreenshot
Draft

feat(screenshot): add scrollIntoView option to control scrolling behavior before taking screenshots#39732
Marcin3 wants to merge 2 commits intomicrosoft:mainfrom
Marcin3:add-scrollIntoView-option-to-disable-automatic-scroll-into-view-in-toHaveScreenshot

Conversation

@Marcin3
Copy link
Contributor

@Marcin3 Marcin3 commented Mar 17, 2026

Fixes #39731

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.

[Feature]: Add scrollIntoView option to disable automatic scroll into view in expect(locator).toHaveScreenshot(name)

1 participant