microsoft / microsoft/playwright

[MCP] WebP screenshot above 16383 px returns an empty image

Open
#42,717 2 comments 0 reactions 1 assignee View on GitHub

@dcrousso is already working on this.

Since Sep 16, 2026.

Dominant language
TypeScript
Stars
96.3k
Forks
6.5k
Avg merge
1d 6h
Merged PRs (30d)
180

Description

browser_take_screenshot with type webp and fullPage on a document taller than 16383 px returns an empty image and writes a zero-byte file, with no error. 16383 px works, 16384 px does not. png and jpeg are fine at the same heights.

This looks like the WebP dimension limit surfacing as success. An error, or a fallback to png above the limit, would make the result honest.

Seen with @playwright/mcp 0.0.80, playwright-core 1.63.0-alpha-2026-08-31, Chromium 153.0.8010.12, Windows 11.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.