Skip to content

Bump ferrum from 0.18.0 to 0.20.1 - #158

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/ferrum-0.20.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/ferrum-0.20.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026

Copy link
Copy Markdown
Contributor

Bumps ferrum from 0.18.0 to 0.20.1.

Release notes

Sourced from ferrum's releases.

0.20.1

Fixed

  • set_viewport and resize turned touch emulation off on every desktop viewport, which reset hover and pointer and undid --blink-settings overrides. mobile: defaults to nil and leaves touch as is, false turns it off #664
  • A click or navigation timed out when the last loading iframe moved to another process, e.g. submitting a form that opens an inline PDF in Chrome 145+, where the PDF viewer runs out of process #672

0.20.0

Added

  • keyboard.hold(:shift) { } holds modifiers for every keyboard and mouse event in the block, e.g. a shift+drag, and releases them afterwards. mouse.move accepts modifiers: like down and up #581
  • page.console collects console.* calls, browser log entries and uncaught exceptions as Console::Messages, Enumerable over the last 1000, and page.on(:console) yields new ones, also on workers. No more parsing the :logger output to get them [cuprite#113]
  • :logger accepts a Logger: CDP messages and browser output go out at debug level, with ferrum:protocol or ferrum:browser as program name
  • FERRUM_LOG picks what's logged: *, -browser, CDP method patterns like Page.* or -Network.*, 0 for nothing
  • Logger output written to a terminal is colored: arrows by kind, bold methods, dimmed times. Files, pipes and NO_COLOR keep plain text, FERRUM_LOG_COLOR=always|never overrides it
  • FERRUM_LOG_FORMAT=annotated puts the command id and method in front of each CDP message and gives responses their command's method and duration, FERRUM_LOG_FORMAT=json writes each CDP message as JSON alone
  • Ferrum keeps reading what Chrome writes after startup: it's logged on the browser channel, the last 100 lines are in browser.process.output
  • browser.add_extension adds an extension for pages and iframes attached afterwards #663
  • page.isolated_world(name) and frame.isolated_world(name) evaluate JavaScript in a world hidden from the page
  • Node#backend_node_id and Node#node_type
  • page.wait_for_navigation { } and wait_for_navigation! { } wait for a navigation the block starts, e.g. a click made from JavaScript #679

Changed

  • evaluate fetches the whole result in one CDP call instead of one per nested object, dates come back as ISO 8601 strings and a cyclic result is a Hash/Array with CyclicObject only where it refers back to itself, instead of being replaced by CyclicObject entirely
  • Nodes returned by evaluate, css and the other finders no longer cost a DOM.describeNode call each, Node#description is fetched on first use. Node.new takes the node as Chrome deep serializes it instead of a target id and a description
  • The logger cuts any string value over 1024 characters in CDP messages, not just screenshots. FERRUM_LOG_VALUE_LENGTH sets the length, 0 keeps them whole. FERRUM_LOGGING_SCREENSHOTS is gone
  • ProcessTimeoutError is raised as soon as Chrome exits instead of after :process_timeout
  • The logger no longer prints [log] ... lines for console calls, use page.on(:console) { |message| puts message }
  • FERRUM_DEBUG is deprecated in favor of FERRUM_LOG=*
  • keyboard.down and keyboard.up raise ArgumentError for a modifier such as :shift and point to hold. down used to crash with NoMethodError, up sent an empty keyup event #581
  • Behind a proxy with :user and :password, Ferrum stops continuing intercepted requests once you subscribe to on(:request), like it already does without a proxy: your callbacks have to continue or abort every request, or it stays paused until the page times out #332
  • evaluate_on_new_document is a Page method sending Page.addScriptToEvaluateOnNewDocument to that page, with world_name: and run_immediately:. It returns the script id for remove_script_on_new_document. It used to add an extension for every page built afterwards, use browser.add_extension for that #663
  • Extension files are read in Browser.new, a missing one raises Errno::ENOENT there instead of on first

... (truncated)

Changelog

Sourced from ferrum's changelog.

0.20.1 (October 29, 2026)

Added

Changed

Fixed

  • set_viewport and resize turned touch emulation off on every desktop viewport, which reset hover and pointer and undid --blink-settings overrides. mobile: defaults to nil and leaves touch as is, false turns it off #664
  • A click or navigation timed out when the last loading iframe moved to another process, e.g. submitting a form that opens an inline PDF in Chrome 145+, where the PDF viewer runs out of process #672

Removed

0.20.0 (October 26, 2026)

Added

  • keyboard.hold(:shift) { } holds modifiers for every keyboard and mouse event in the block, e.g. a shift+drag, and releases them afterwards. mouse.move accepts modifiers: like down and up #581
  • page.console collects console.* calls, browser log entries and uncaught exceptions as Console::Messages, Enumerable over the last 1000, and page.on(:console) yields new ones, also on workers. No more parsing the :logger output to get them [cuprite#113]
  • :logger accepts a Logger: CDP messages and browser output go out at debug level, with ferrum:protocol or ferrum:browser as program name
  • FERRUM_LOG picks what's logged: *, -browser, CDP method patterns like Page.* or -Network.*, 0 for nothing
  • Logger output written to a terminal is colored: arrows by kind, bold methods, dimmed times. Files, pipes and NO_COLOR keep plain text, FERRUM_LOG_COLOR=always|never overrides it
  • FERRUM_LOG_FORMAT=annotated puts the command id and method in front of each CDP message and gives responses their command's method and duration, FERRUM_LOG_FORMAT=json writes each CDP message as JSON alone
  • Ferrum keeps reading what Chrome writes after startup: it's logged on the browser channel, the last 100 lines are in browser.process.output
  • browser.add_extension adds an extension for pages and iframes attached afterwards #663
  • page.isolated_world(name) and frame.isolated_world(name) evaluate JavaScript in a world hidden from the page
  • Node#backend_node_id and Node#node_type
  • page.wait_for_navigation { } and wait_for_navigation! { } wait for a navigation the block starts, e.g. a click made from JavaScript #679

Changed

  • evaluate fetches the whole result in one CDP call instead of one per nested object, dates come back as ISO 8601 strings and a cyclic result is a Hash/Array with CyclicObject only where it refers back to itself, instead of being replaced by CyclicObject entirely
  • Nodes returned by evaluate, css and the other finders no longer cost a DOM.describeNode call each, Node#description is fetched on first use. Node.new takes the node as Chrome deep serializes it instead of a target id and a description
  • The logger cuts any string value over 1024 characters in CDP messages, not just screenshots. FERRUM_LOG_VALUE_LENGTH sets the length, 0 keeps them whole. FERRUM_LOGGING_SCREENSHOTS is gone
  • ProcessTimeoutError is raised as soon as Chrome exits instead of after :process_timeout
  • The logger no longer prints [log] ... lines for console calls, use page.on(:console) { |message| puts message }
  • FERRUM_DEBUG is deprecated in favor of FERRUM_LOG=*

... (truncated)

Commits
  • bbffb6d chore(release): bump version to 0.20.1
  • 3bae168 fix(page): wake navigation when a loading frame detaches (#672)
  • 3f6a173 Keep hover and pointer overrides on desktop set_viewport (#665)
  • 2a3f4b9 chore(release): bump version to 0.20.0
  • 88a7785 fix(log): serialize writes to an IO logger so lines from several threads don'...
  • c3b7797 chore(release): bump version to 0.19.2
  • df645cf test: save downloads outside /tmp/ferrum, which keeps the CI failure artifact...
  • 3fb1a00 fix(client): write websocket frames from a writer thread, fixing the JRuby de...
  • fb7d858 feat(runtime): add a JavaScript evaluation API with named arguments, keeping ...
  • 2b89afb feat(page): add wait_for_navigation and wait_for_navigation! for a navigation...
  • 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 [ferrum](https://github.com/rubycdp/ferrum) from 0.18.0 to 0.20.1.
- [Release notes](https://github.com/rubycdp/ferrum/releases)
- [Changelog](https://github.com/rubycdp/ferrum/blob/main/CHANGELOG.md)
- [Commits](rubycdp/ferrum@v0.18.0...v0.20.1)

---
updated-dependencies:
- dependency-name: ferrum
  dependency-version: 0.20.1
  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 Nov 2, 2026
@excid3

excid3 commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Covered by the gem update in cb9a397 on main.

@excid3 excid3 closed this Nov 25, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/bundler/ferrum-0.20.1 branch November 25, 2026 14:27
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant