New
0.17
Added
Ferrum::Network::Exchange#blob?determines if the exchange is blob [#516]Ferrum::Network::Request#headersare enhanced and supplemented withNetwork.requestWillBeSentExtraInfo[#506]Ferrum::Page#offto unsubscribe from CDP events [#455]Ferrum::Mouse#scroll_byto be able to scroll by, as alternative toscroll_to[#514]Ferrum::Network::Exchange#unknowndetermines if the exchange is in an unknown state, meaning that browser might not return info about it [#426]Ferrum::Network::Exchange#loader_idreturns loader id [#426]Ferrum::Browser#debugopens headless session in the browser devtools frontend [#519]Ferrum::Frame#parentreturns the parent frame if this frame is nested [#523]Ferrum::Frame#frame_elementreturns the element in which the window is embedded [#524]Ferrum::Page#start_screencaststarts sending frames to record screencast [#494]Ferrum::Page#stop_screencaststops sending frames [#494]Ferrum::Browser#new(incognito: false)whether to create an incognito profile for the browser startup window,trueby default.
Changed
Ferrum::Network::Exchange#finished?takes into account that exchange might be in an unknown state after loader changed(nextgo_tocall) and considers such as finished [#426]headless: "new"mode is removed as it's now default in modern Chrome, just useheadless: trueinstead [#518]
Fixed
- Correctly set mouse events buttons property [#509]
- Prevent 'Hash#[]=': can't add a new key into hash during iteration [#513]
Ferrum::Network::Exchange#finished?andFerrum::Network#wait_for_idletake into account that request can be a blob [#496]- Safe call body method (DOM) when page is empty and no html [#522]