Skip to content

Bump cuprite from 0.18 to 0.19 - #3

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/cuprite-0.19
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/cuprite-0.19

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 23, 2026

Copy link
Copy Markdown

Bumps cuprite from 0.18 to 0.19.

Release notes

Sourced from cuprite's releases.

0.19

Added

  • :emulate driver option to emulate a device listed in Chrome DevTools with its user agent, e.g. emulate: :iphone_14, along with :mobile and :scale_factor options it sets, kept across window resizes #216
  • Node#drag_to accepts x: and y: to drop at an offset from the target, measured from its center or top left like click, so drop targets that tell the upper half from the lower one can be driven #325

Changed

  • Ferrum is bumped to ~> 0.19.1
  • --disable-web-security is added to the browser options, since Ferrum dropped it from its defaults. Tests keep reaching into cross-origin frames, e.g. current_urlrubycdp/ferrum#472
  • Change Node#send_keys to avoid triggering click on an already focused element. send_keys(:tab) without an element no longer clicks the middle of the page first, so Tab moves focus from the start of the page, and Capybara's #active_element and focused: specs run in the suite #327

Fixed

  • Node#drag_to fired dragleave right before drop on an HTML5 drop target, which browsers never do, so libraries such as Pragmatic drag and drop dropped onto nothing. A drag now ends with drop if the target accepted it, otherwise with dragleave #325
  • window_size: nil raised Ferrum::BrowserError: Invalid parameters on every page instead of leaving the window size to Chrome, so start-maximized couldn't be used #278
  • Driver#reset! kept the page it had cached when the browser failed to reset, so every later example raised Session with given id not found or Browser is dead or given window is closed instead of starting on a fresh page #274rubycdp/ferrum#641
  • Node#visible? reported an open popover or modal dialog as hidden when an ancestor had opacity: 0 #328
  • Driver#window_handles listed the web workers a page spawned as windows, so window_opened_by raised opened 2 windows instead of 1 #326
  • Node#select_option and Node#unselect_option didn't fire the input event on the select #223
  • Node#trigger silently dispatched nothing for events other than mouse, focus and submit, such as input, change or custom events #197
  • Node#set with an empty string cleared a text field without firing the input event #164
  • Finders with exact_text: true raised InvalidSelector because Capybara appended an empty [] predicate to the XPath #256
Changelog

Sourced from cuprite's changelog.

0.19

Added

  • :emulate driver option to emulate a device listed in Chrome DevTools with its user agent, e.g. emulate: :iphone_14, along with :mobile and :scale_factor options it sets, kept across window resizes #216
  • Node#drag_to accepts x: and y: to drop at an offset from the target, measured from its center or top left like click, so drop targets that tell the upper half from the lower one can be driven #325

Changed

  • Ferrum is bumped to ~> 0.19.1
  • --disable-web-security is added to the browser options, since Ferrum dropped it from its defaults. Tests keep reaching into cross-origin frames, e.g. current_urlrubycdp/ferrum#472
  • Change Node#send_keys to avoid triggering click on an already focused element. send_keys(:tab) without an element no longer clicks the middle of the page first, so Tab moves focus from the start of the page, and Capybara's #active_element and focused: specs run in the suite #327

Fixed

  • Node#drag_to fired dragleave right before drop on an HTML5 drop target, which browsers never do, so libraries such as Pragmatic drag and drop dropped onto nothing. A drag now ends with drop if the target accepted it, otherwise with dragleave #325
  • window_size: nil raised Ferrum::BrowserError: Invalid parameters on every page instead of leaving the window size to Chrome, so start-maximized couldn't be used #278
  • Driver#reset! kept the page it had cached when the browser failed to reset, so every later example raised Session with given id not found or Browser is dead or given window is closed instead of starting on a fresh page #274rubycdp/ferrum#641
  • Node#visible? reported an open popover or modal dialog as hidden when an ancestor had opacity: 0 #328
  • Driver#window_handles listed the web workers a page spawned as windows, so window_opened_by raised opened 2 windows instead of 1 #326
  • Node#select_option and Node#unselect_option didn't fire the input event on the select #223
  • Node#trigger silently dispatched nothing for events other than mouse, focus and submit, such as input, change or custom events #197
  • Node#set with an empty string cleared a text field without firing the input event #164
  • Finders with exact_text: true raised InvalidSelector because Capybara appended an empty [] predicate to the XPath #256
Commits
  • 0e50717 chore(release): bump version to 0.19
  • a581c10 chore(deps): require ferrum ~> 0.19.1 for the held mouse button fix
  • 989d444 fix(drag): end HTML5 drags like a browser and support drop offsets in drag_to...
  • d3040c0 fix(driver): add --disable-web-security to the browser options (#342)
  • f6fd995 send_keys: skip click if Node has focus (#327)
  • 7059511 test(ci): log test app requests to the CI artifacts (#340)
  • 535dff5 fix(page): leave the window size to Chrome when window_size is nil (#339)
  • 86969bd feat(driver): emulate devices from Chrome DevTools with emulate: (#338)
  • b29bb30 fix(browser): drop the empty xpath predicate Capybara adds for exact_text: tr...
  • ea9b94a docs: add documentation pages for docs.rubycdp.com
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [cuprite](https://github.com/rubycdp/cuprite) from 0.18 to 0.19.
- [Release notes](https://github.com/rubycdp/cuprite/releases)
- [Changelog](https://github.com/rubycdp/cuprite/blob/main/CHANGELOG.md)
- [Commits](rubycdp/cuprite@v0.18...v0.19)

---
updated-dependencies:
- dependency-name: cuprite
  dependency-version: '0.19'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Development

Successfully merging this pull request may close these issues.

0 participants