Skip to content

bug: playwright non headless mode does not work #2226

@gautamsi

Description

@gautamsi

Provide environment information

System:
OS: Windows 11 10.0.26100
CPU: (32) x64 AMD Ryzen 9 7950X 16-Core Processor
Memory: 41.79 GB / 127.09 GB
Binaries:
Node: 22.17.0 - C:\Program Files\nodejs\node.EXE
Yarn: 4.4.1 - C:\Program Files\nodejs\yarn.CMD
npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD

Describe the bug

When using playwright build extension, it still tries to install 'chrome-headless-shell' only and not both chromium and headless shell.

If you try to launch chromium with headless: false it throws error that binary not found and the download fails.

You have to be running from deployed task to reproduce this

Reproduction repo

it is easy reproduction, if not I will reopen with separate repo.

To reproduce

set headless: false in playwright extension and launch chromium with headless: false option.

Image

Additional information

I have made this work by patching node_modules file. Also had to add 'chrome-headless'shell' in browsers option liek this
browsers: ['chromium', 'chromium-headless-shell' as any],

Image

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