Skip to content

fix(browser): send the screenSize context option as the protocol's screen parameter - #2019

Merged
Yury Semikhatsky (yury-s) merged 2 commits into
microsoft:mainfrom
yury-s:fix-screen-size
Oct 26, 2026
Merged

Yury Semikhatsky (yury-s) merged 2 commits into
microsoft:mainfrom
yury-s:fix-screen-size

Conversation

@yury-s

Copy link
Copy Markdown
Member

Summary

  • Browser.NewContextOptions.setScreenSize() was serialized as screenSize, which the driver ignores; send it as the protocol's screen parameter.
  • Test in TestBrowserContextViewport.

https://claude.ai/code/session_018p7xPf3r5VjAM7V46nzFTM

@yury-s
Yury Semikhatsky (yury-s) merged commit 33a5d10 into microsoft:main Oct 26, 2026
16 of 19 checks passed
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.

2 participants