Skip to content

Add GERAPY_PLAYWRIGHT_BROWSER_TYPE setting#20

Draft
feder-cr wants to merge 1 commit into
Gerapy:mainfrom
feder-cr:add-browser-type-support
Draft

Add GERAPY_PLAYWRIGHT_BROWSER_TYPE setting#20
feder-cr wants to merge 1 commit into
Gerapy:mainfrom
feder-cr:add-browser-type-support

Conversation

@feder-cr

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

Copy link
Copy Markdown

executable_path was already configurable but the launch call was hardcoded to playwright.chromium.launch(), so pointing it at a Firefox (or WebKit) binary wouldn't actually work correctly. This adds a GERAPY_PLAYWRIGHT_BROWSER_TYPE setting, defaults to 'chromium' so nothing changes unless it's set explicitly, and guards the Chromium-only launch args behind it. 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 adjust naming or split into smaller commits if useful.

executable_path was already configurable but the launch call was hardcoded to playwright.chromium.launch(), so pointing it at a non-Chromium binary wouldn't actually work. Adds a browser_type setting (defaults to 'chromium', unchanged behavior) and guards the Chromium-only launch args behind it.
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