New
0.14
Added
Ferrum::Page#device_pixel_ratioreturns the ratio of the resolution in physical pixels to the resolution in CSS pixels for the current display device.Ferrum::Network#cache(disable: true | false)whether or not to use cache for every requestFerrum::Network::Exchange#redirect?determines if the exchange is a redirectFerrum::Network::Exchange#xhr?determines if the exchange is XHRFerrum::Network::Request#xhr?determines if the request is XHRFerrum::Network::Response#loaded?returns true if the response is fully loadedFerrum::Network::Response#redirect?returns true if the response is a redirectFerrum::Node#in_viewport?checks if the element in viewport (optional argumentscopeasFerrum::Node)Ferrum::Node#scroll_into_view- scrolls to element if needed (when it's not in the viewport)Ferrum::Cookies#each- is now Enumerable and supportseachmethodFerrum::Cookies::Cookie#priority#sameparty?#source_scheme#source_port#to_s#to_h
Ferrum::Network::Request#to_hFerrum::Network::Response#to_h
Fixed
Ferrum::Network::Exchange#finished?returnstrueonly fully loaded responsesFerrum::Page#resizeset deviceScaleFactor as0by default [#330]Ferrum::Network#interceptsilently discards unknown resource_types [#313]- Truncated Chrome WS URL results in Ferrum::DeadBrowserError [#327]
- Websocket connection remains indefinitely in :connecting state and causes TimeoutError [#329]
Exchange#navigation_request?Handle nil request [#339]- Raise
Ferrum::StatusErrorfor any top frame navigation error [#341] Ferrum::Network::Response#loaded?for redirect response [#338]