Skip to content

0.16

Latest
Compare
Choose a tag to compare
@route route released this 01 Dec 09:51
· 2 commits to main since this release

Added

  • Ferrum::Network#wait_for_idle! raises an error if timeout reached.
  • Ferrum::Browser#close closes browser gracefully issuing a CDP command, doesn't clean up ruby resources.
  • Ferrum::Node#remove removes node from DOM tree.
  • Ferrum::Node#exists? check whether the node in ruby world still exists in the DOM tree.
  • Ferrum::Cookies#store stores all cookies of current page in a file.
  • Ferrum::Cookies#load Loads all cookies from the file and sets them for current page.
  • Ferrum::Page#screenshot supports webp image format.
  • Ferrum::Page#activate activates the target for the given page.

Changed

  • Ferrum::Network#wait_for_idle now returns true or false. Doesn't raise an error [BREAKING CHANGE].

Fixed

  • :ws_url option is now used without modifications WYSIWYG.
  • Network.requestWillBeSent callback didn't handle params in a type-safe way
  • Page.frameStoppedLoading callback shouldn't wait for document_node_id response
  • JSON::NestingError is raised when browser returns very deeply nested JSON and crashes the thread [#498]