Skip to content

ref(driver): read the window's url and title instead of Ferrum's current_url and current_title - #353

Merged
route merged 1 commit into
mainfrom
ref/current-url
Oct 30, 2026
Merged

route merged 1 commit into
mainfrom
ref/current-url

Conversation

@route

@route route commented Oct 30, 2026

Copy link
Copy Markdown
Member

Ferrum 0.21 deprecates current_url and current_title in favor of url and title (rubycdp/ferrum#687), so Cuprite stops using them:

  • Driver#current_url and Driver#title read the window's url and title, which Ferrum 0.20.1 already has, so no Ferrum bump is needed
  • Cuprite::Page no longer delegates current_url and current_title to the frame Capybara is switched to, and drops its title override

Results are the same as before, including within a frame.

…ent_url and current_title

Ferrum 0.21 deprecates current_url and current_title (rubycdp/ferrum#687). Driver#current_url and Driver#title
read the main frame's url and title, which work with Ferrum 0.20.1 too, and the page no longer delegates
current_url and current_title to the frame Capybara is switched to.
@route
route merged commit 4dd9c90 into main Oct 30, 2026
6 checks passed
@route
route deleted the ref/current-url branch October 30, 2026 11:14
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