microsoft / microsoft/playwright

[Feature] Support browser zoom

Open
#2,497 29 comments 163 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P3-collecting-feedback
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.