microsoft / microsoft/playwright
[Bug]: Full-page screenshot doesn't render iframe content
Open
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
Version
1.59.1
Steps to reproduce
- Clone my repo at https://github.com/afonseca08/playwright-render-issue
- npm ci
- npx playwright install chromium
- npm run repro
- See screenshots under test-results/youtube-fullpage-iframe-*/
Expected behavior
full-page.png should show the same loaded YouTube player content that appears in viewport-after-scroll.png and iframe-element.png.
Actual behavior
full-page.png captures the YouTube iframe rectangle as blank white.
Additional context
See screenshots:
Full screen capture
Viewport after scroll capture
Environment
System:
OS: Linux 6.6 Ubuntu 24.04.4 LTS 24.04.4 LTS (Noble Numbat)
CPU: (12) x64 AMD Ryzen 5 5600X 6-Core Processor
Memory: 14.43 GB / 15.58 GB
Container: Yes
Binaries:
Node: 18.19.1 - /usr/bin/node
npm: 9.2.0 - /usr/bin/npm
IDEs:
VSCode: 1.118.1 - /mnt/c/Users/Alberto/AppData/Local/Programs/Microsoft VS Code/bin/code
Languages:
Bash: 5.2.21 - /usr/bin/bash
npmPackages:
@playwright/test: ^1.59.1 => 1.59.1
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 with the linked reproduction repository: run npm ci, npx playwright install chromium, and npm run repro. Compare full-page.png with viewport-after-scroll.png and iframe-element.png under test-results; done means the full-page screenshot includes the loaded YouTube iframe content rather than a blank white rectangle.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100