Skip to content

ref(context): build against Ferrum main and remove the new_window: patch - #397

Open
route wants to merge 2 commits into
mainfrom
ferrum-main-new-window
Open

route wants to merge 2 commits into
mainfrom
ferrum-main-new-window

Conversation

@route

@route route commented Nov 25, 2026

Copy link
Copy Markdown
Member

Cuprite and Ferrum will be bumped together again, so Cuprite builds against Ferrum main, the same way #366 did.

  • The Gemfile pins ferrum to rubycdp/ferrum main. Ferrum main is still 0.21.0, so the gemspec's ~> 0.21.0 accepts it.
  • feat(context): open a window instead of a tab with new_window: ferrum#733 added new_window: to Ferrum::Context#create_target on main, so the patch in lib/capybara/cuprite/context.rb is removed, along with its RBS and its require. open_new_window(:window) now calls Ferrum's create_target directly.

For the joint release, raise the gemspec's ferrum requirement to the new Ferrum version and drop the Gemfile pin.

Locally, RuboCop and rbs validate are clean and spec/driver_spec.rb passes, including the open_new_window specs. The full suite runs on CI.

…arget takes it

rubycdp/ferrum#733 added new_window: to Context#create_target on Ferrum main, which Cuprite builds against until both are released
together. The gemspec's ferrum requirement has to be raised to that release.
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