Skip to content

[Bug]: Full-page screenshot doesn't render iframe content #40583

@afonseca08

Description

@afonseca08

Version

1.59.1

Steps to reproduce

  1. Clone my repo at https://github.com/afonseca08/playwright-render-issue
  2. npm ci
  3. npx playwright install chromium
  4. npm run repro
  5. 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

Image

Viewport after scroll capture

Image

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions