Skip to content

Add withExecutablePath() to BrowserBuilder#101

Draft
feder-cr wants to merge 1 commit into
playwright-php:mainfrom
feder-cr:add-with-executable-path
Draft

Add withExecutablePath() to BrowserBuilder#101
feder-cr wants to merge 1 commit into
playwright-php:mainfrom
feder-cr:add-with-executable-path

Conversation

@feder-cr

@feder-cr feder-cr commented Jul 2, 2026

Copy link
Copy Markdown

The underlying transport already forwards launchOptions as-is, but there was no builder method to set executablePath, so there was no way to point launch() at a custom browser build. This adds withExecutablePath(), mirroring withSlowMo(). Motivated by invisible_playwright, a Playwright wrapper around a Firefox build patched at the source level for a realistic fingerprint. Opened as draft, happy to add a test if that's expected here.

@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/Browser/BrowserBuilder.php 0.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

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