Skip to content

[Bug]: Getting White Screen in Headless Mode on Playwright v1.52  #36080

Closed as not planned
@sreyas444

Description

@sreyas444

Version

1.52.0

Steps to reproduce

  1. npm install
  2. npx playwright install
  3. npx playwright test

Expected behavior

User is able to navigate to the page without any issues

Actual behavior

White Screen Appears When Running in Headless Mode

Additional context

I tested the application using Playwright version 1.46, and it works as expected with "--headless=new " but its failing on docker. However, it's not working with version 1.52. Please refer to the attached video and source code is in ZIP file for details.

NB: Please see the video recording even the script is passed.

Source Code:- whiteScreenIssue.zip

Video:- https://github.com/user-attachments/assets/e906a4a4-40dd-4ffa-a41a-7cf2c7906e65

Environment

System:
    OS: Windows 11 10.0.22631
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz
    Memory: 2.23 GB / 15.71 GB
  Binaries:
    Node: 20.11.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
  IDEs:
    VSCode: 1.100.2 - C:\Users\001ZKU744\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
  Languages:
    Bash: 5.2.26
  npmPackages:
    @playwright/test: ^1.52.0 => 1.52.0

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