Skip to content

Prototype: control installed Firefox via Playwright Core's moz-firefox BiDi channel - #12

Draft
Miguel0888 wants to merge 1 commit into
masterfrom
feat/firefox-bidi-installed
Draft

Miguel0888 wants to merge 1 commit into
masterfrom
feat/firefox-bidi-installed

Conversation

@Miguel0888

Copy link
Copy Markdown
Contributor

Goal

Enable already installed Mozilla Firefox through Playwright4J's Java/GraalJS driver, without downloading browsers, geckodriver, Selenium, or Node.js.

Mechanism

Playwright Core 1.59.0 already offers the experimental moz-firefox channel using WebDriver BiDi WebSocket. Route this channel separately from Chromium/CDP and Firefox/Juggler; detect Firefox readiness on stderr, forward its WebSocket endpoint, and preserve the Chrome/Edge paths.

Validation

  • Windows CI: Chrome + Edge baseline
  • Additional installed-Firefox launch → page → JS evaluate → close smoke test (only when Firefox is present)
  • No release/publishing until the Firefox smoke actually passes and CI is green.

Status

Experimental draft. Stock Firefox BiDi is upstream-experimental, not yet full feature-parity with patched Firefox/Juggler. Some Java/GraalJS WebSocket compatibility gaps may still emerge. This PR must not be merged/published without empirical verification.

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