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

クローズ
#40,583 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript
領域
testing-qa

調査の方向性

リンクされている再現リポジトリから始めます。npm ci、npx playwright install chromium、npm run repro を実行してください。test-results 内の full-page.png、viewport-after-scroll.png、iframe-element.png を比較します。完了条件は、フルページのスクリーンショットに空白の白い長方形ではなく、読み込まれた YouTube iframe の内容が含まれていることです。

索引モデルが issue の本文から書いたものです。

説明

P3-collecting-feedback
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
主要言語
TypeScript
スター
99.1k
フォーク
6.8k
平均マージ
15時間 37分
マージ済み PR(30日)
329

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/playwright のほかの issue

microsoft/playwright の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。