Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

Browser Driver Binary Version Matching, BiDi Protocol, and Headless Session Fixes

How to match a browser automation driver build to your browser major version, and what release notes say about BiDi, W3C mode, and common session failures.

This page summarises Chrome for Developers documentation on ChromeDriver downloads: how published driver builds declare which Chrome major version they support, and which recurring fixes in the release history matter when tests fail after a browser upgrade, when you enable WebDriver BiDi, or when headless sessions misbehave.

ChromeDriver downloads: which build matches my Chrome version?

Section titled “ChromeDriver downloads: which build matches my Chrome version?”

ChromeDriver is distributed as versioned binaries on the ChromeDriver downloads page. Each listing states the Chrome major version that build is meant to pair with, using the same wording across releases:

Supports Chrome version 113

— Google, ChromeDriver downloads

That line is the primary compatibility signal in this documentation cluster. The driver major version (for example 113.0.5672.63) is tied to Chrome 113; installing Chrome 114 while keeping a 113 driver commonly produces startup errors described in older notes as ChromeDriver refusing to launch Chrome when versions are incompatible (see ChromeDriver 2.45 in the same downloads archive).

How people usually phrase the version question

Section titled “How people usually phrase the version question”

Readers typically arrive with Chrome already updated by IT or CI, then Selenium, Puppeteer-over-ChromeDriver, or plain WebDriver fails with a version or session error. The practical answer from the published list is: open ChromeDriver downloads, find the block whose Supports Chrome version line equals your browser’s major version, and use that build. When several patch builds share the same major (for example 113.0.5672.63 and 113.0.5672.24), both still declare support for the same Chrome major; choose the newer patch within that major unless your organisation pins a specific artifact.

The cluster is a long changelog of resolved issues, not a full compatibility matrix for every OS package or Chrome channel (Stable, Beta, Dev). It does not replace checking the browser’s actual major version locally. It also does not document Cloudflare or other hosted browser products except indirectly; Cloudflare Browser Rendering’s changelog only notes a Puppeteer dependency bump (Update puppeteer to 21.1.0), which is outside the version-matching story on the Chrome downloads page.

W3C WebDriver mode and logging capability names

Section titled “W3C WebDriver mode and logging capability names”

ChromeDriver moved to W3C-compliant behaviour by default in the Chrome 75 generation. The archived entry for ChromeDriver 75.0.3770.8 states:

The most noticeable change is ChromeDriver now runs in W3C standard compliant mode by default.

— Google, ChromeDriver downloads

The same note renames a logging capability for spec compliance:

Renamed capability loggingPrefs to goog:loggingPrefs, as required by W3C standard

— Google, ChromeDriver downloads

If legacy tutorials still pass loggingPrefs without the goog: prefix, capabilities may be ignored or rejected depending on client libraries. Treat W3C mode as the default assumption for any Chrome major version covered in the modern numbered driver lines on ChromeDriver downloads.

WebDriver BiDi in ChromeDriver: what the release notes add

Section titled “WebDriver BiDi in ChromeDriver: what the release notes add”

From Chrome 106 onward, the downloads archive documents progressive BiDi (bidirectional WebDriver) work. Milestones visible in the cluster include:

Chrome major (driver line) Documented BiDi-related change
106 Basic BiDi support (Mapper based)
107 BiDi command handling gated until BiDiMapper starts; Mapper tab assumptions relaxed
109 BiDi session must support multiple connections
110 BiDi serialization and webSocketUrl race fixes
111–113 Classic/BiDi interoperability (window handles, object ids, mapper tab order)

Representative quotes:

Resolved issue 4016: Add basic BiDi support to ChromeDriver (Mapper based) [Pri-1]

— Google, ChromeDriver downloads

Resolved issue 4205: Same object ids in Classic and BiDi [Pri-1]

— Google, ChromeDriver downloads

Resolved issue 4302: Don’t assume that Mapper is in the first tab in ExecuteGetWindowHandles [Pri-1]

— Google, ChromeDriver downloads

BiDi here is implemented with a BiDiMapper in a browser tab; several fixes explicitly say commands must not run until the mapper has started and that the mapper is not always the first tab. If you enable BiDi or webSocketUrl and see intermittent session or handle errors on Chrome 110–113, matching driver patch level to the downloads entry for your Chrome major is the documentation-backed remediation— the cluster does not provide a separate debugging guide.

Remote connections, origins, and host validation

Section titled “Remote connections, origins, and host validation”

Chrome 95 driver builds document stricter handling of cross-origin HTTP requests to the driver:

Resolved issue 3857: Host header or origin header is specified and is not whitelisted or localhost [Pri-1] Added –allowed-origins argument

— Google, ChromeDriver downloads

Earlier Chrome 92 notes mention host validation for ChromeDriver requests. If the driver listens on a network interface and automation sends requests with a non-local Host or Origin, startup or request rejection may be intentional. The cluster documents the --allowed-origins flag as the vendor-supplied knob; exact flag syntax belongs in current ChromeDriver CLI docs, not duplicated here.

Headless mode, user data directories, and downloads

Section titled “Headless mode, user data directories, and downloads”

Several high-priority fixes in the cluster target headless and profile behaviour:

Resolved issue 4357: Chromedriver version 110.0.5481.77 session issue with –headless and –user-data-dir options. [Pri-1]

— Google, ChromeDriver downloads

The same issue appears for Chrome 111 driver lines on ChromeDriver downloads. Separately, Chrome 113 notes:

Resolved issue 4356: Chrome 110 not utilizing pref value “download.default_directory” [Pri-1]

— Google, ChromeDriver downloads

Headless download support was introduced earlier in the archive (Chrome 77 notes mention saving downloads in headless mode). When downloads land in the wrong folder or sessions fail only with --headless plus --user-data-dir, align Chrome, ChromeDriver major versions, and compare against these resolved-issue descriptions on the downloads page.

Frames, shadow DOM, and modern web features

Section titled “Frames, shadow DOM, and modern web features”

The changelog fragments explain occasional automation gaps that are not simple version mismatches:

  • Fenced frames (Chrome 100): Resolved issue 4002: Support Fenced Frames [Pri-]
  • iframe inside shadow root (Chrome 96): Resolved issue 3445: Impossible to access elements in iframe inside a shadow root [Pri-3]
  • Nested frame switching (Chrome 101): Resolved issue 4080: Switching to nested frame fails [Pri-]

Each appears on ChromeDriver downloads under the corresponding Chrome major. If a test targets ads, embeds, or isolation features added after your driver major, upgrading the driver build to the matching Chrome major is the documented fix path when the issue is listed as resolved for that generation.

Performance and stability notes worth knowing

Section titled “Performance and stability notes worth knowing”

Not every entry is security- or protocol-critical. Examples that affect CI tuning:

Resolved issue 4419: Large overhead on Speedometer when using chromedriver [Pri-3]

— Google, ChromeDriver downloads

Android session starts and IPv4/IPv6 DevTools connectivity also appear repeatedly (for example Chrome 110 Failed to start new session on Android 13, Chrome 81 unable to connect to DevTools due to IPv4 vs IPv6 mismatch on the same downloads archive). Treat these as hints to verify driver patch level and environment networking, not as guaranteed root causes for every failure.

Common mistakes when using the downloads list

Section titled “Common mistakes when using the downloads list”
  1. Patching Chrome but not the driver — Only the Supports Chrome version major must match; forgetting this after auto-updates is the most common mismatch.
  2. Ignoring W3C capability names — Use goog:loggingPrefs where the Chrome 75 release note requires it.
  3. BiDi with extra tabs or dual protocols — Mapper tab-order fixes imply fragile startup ordering; simplify tabs at session creation.
  4. Remote driver without --allowed-origins — Documented from Chrome 95 onward for non-localhost Host/Origin.
  5. Treating changelog entries as runtime docs — Resolved-issue text describes fixes in specific builds; your binary must be at least the listed major (and ideally current patch on that page).
  1. Record your Chrome major version from chrome://version or your CI image metadata.
  2. On ChromeDriver downloads, locate the section whose Supports Chrome version line equals that major and note the driver version string you installed or cache in CI.
  3. Start a one-line WebDriver session against a trivial page; if you use BiDi or remote access, retest with the same flags you use in production (--headless, --user-data-dir, --allowed-origins, webSocketUrl).
  4. If behaviour matches a resolved issue on the downloads page (headless profile, downloads directory, BiDi handles), upgrade to a patch build from the same major listed there and rerun the session.
  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact sentence you are asking about, and we will correct or clarify it.