Skip to content

[BUG] 1.30 & 1.31 cmd open up with headless (pyinstaller) #1778

@treb00

Description

@treb00
  • Playwright Version: now 1.29
  • Operating System: Windows
  • Python version: 3.10
  • Browser: tested only chromium

Using playwright with headless mode. When I run the script without builded edition it runs fine in headless mode, no popup, no nothing. However, when I build with pyinstaller and I also use these flags: --noconsole --excelude-module cmd -F and using with sync_playwright() as p: in 1.30 and 1.31 cmds popping up. In 1.30 only one empty cmd pops up, in 1.31 multiple windows appear. If I revert back to 1.29 this problem does not occur.

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