microsoft / microsoft/playwright
[MCP] WebP screenshot above 16383 px returns an empty image
Open
@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
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.
Assessment
This issue has not been assessed yet.