Skip to content

test(driver): read the Chrome version from the browser instead of Process#default_user_agent - #345

Merged
route merged 1 commit into
mainfrom
test/driver-version-from-browser
Oct 20, 2026
Merged

route merged 1 commit into
mainfrom
test/driver-version-from-browser

Conversation

@route

@route route commented Oct 18, 2026

Copy link
Copy Markdown
Member

rubycdp/ferrum#651 removed Process#default_user_agent, so "fills in the running Chrome version" fails with ferrum main. Read the version from Browser.getVersion through browser.version.user_agent, which ferrum 0.19.1 already has, so the spec passes against both the released gem and ferrum main.

browser.default_user_agent can't be used here: cuprite overrides it to return the emulated device's user agent.

@route
route merged commit 920db1a into main Oct 20, 2026
7 checks passed
@route
route deleted the test/driver-version-from-browser branch October 20, 2026 08:59
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