microsoft / microsoft/playwright
[Feature] Support browser zoom
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 96.4k
- Forks
- 6.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 180
Description
(Logging a feature request – please vote if your scenario needs it and help us prioritize!)
To support accessibility requirements, web developers often need to test their application on higher zoom levels like 200%. Relevant WCAG doc: "Ensuring that there is no loss of content or functionality when the text resizes and text containers do not change their width".
To support this, the Playwright API needs to be able to emulate a higher zoom level, preferably at the browser context level.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Playwright's existing browser context emulation APIs and the linked WCAG G179 guidance. Define how a context-level zoom setting should behave across Chromium, Firefox, and WebKit, and consider the API and coverage needed to verify that zoomed pages retain content and functionality.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- accessibility, testing-qa, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100