Skip to content

Support the channel launch option - #9

Open
aik099 wants to merge 1 commit into
playwright-php:mainfrom
aik099:channel
Open

aik099 wants to merge 1 commit into
playwright-php:mainfrom
aik099:channel

Conversation

@aik099

@aik099 aik099 commented Oct 24, 2026

Copy link
Copy Markdown

launchOptions now passes channel to BrowserBuilder::withChannel(), which the library has had since v1.3.0. Before, the option was silently ignored.

With headless: true Playwright runs Chromium tests in chromium-headless-shell, a separate build that doesn't always behave like the full browser. 'channel' => 'chromium' runs full Chromium (new headless mode) instead. A channel also selects an installed branded browser such as chrome or msedge.

Checked on Linux: without the option the driver starts chromium_headless_shell-1248, with 'channel' => 'chromium' it starts chromium-1248.

I'd like to follow up with a CI leg that runs the suite in full Chromium: the basic auth tests fail there but pass in the headless shell, and that PR will include the fix.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant