Skip to content

[BUG] iframe inside an iframe is not visible #5762

@odeliat

Description

@odeliat

Context:
Playwright Version: [1.7.1]
Operating System: [Mac]
Node.js version: [12, 14.9.0]
Browser: [Chromium, Firefox]

System:
OS: macOS 11.1 + windows 10
Memory: 1.25 GB / 32.00 GB

Binaries:
Node: 14.9.0 - /usr/local/bin/node
Yarn: 1.22.5 - /usr/local/bin/yarn
npm: 6.14.7 - /usr/local/bin/npm

Languages:
Bash: 3.2.57 - /bin/bash

npmPackages:
playwright: ^1.7.1 => 1.7.1

Describe the bug
I have a website with a iframe inside iframe.
On chrome, When I go to this iframe I can see the inner iframe.
When I'm running a test with playwright on this website, the inner iframe is blank. (when I open dev-tools, it's suddenly appears)

my test config:

browser = await chromium.launch({headless: isHeadless, args: ["--start-maximized"]});
page = await browser.newPage(
      {
           viewport: isHeadless ? {
           width: 1920,
           height: 1080
      } : null
   }
);

Steps to reproduce:
#5313 (comment)

Do you have any ideas on how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions