ferrum
ferrum copied to clipboard
Headless Chrome Ruby API
Hi! I'm testing out the library and running into a case that I haven't been able to solve. I'm using xpath to select the scroll container which has an overflow,...
_**Describe_ the bug** My script crashes after a Ferrum thread throws an exception. First I get this: `# terminated with exception (report_on_exception is true): C:/Users/User/.gem/ruby/3.2.0/gems/ferrum-0.15/lib/ferrum/network.rb:376:in `block in subscribe_request_will_be_sent': undefined method...
When creating a browser with the "kiosk" option, placing it on the Xvfb display and recording with ffmpeg, the browser UI elements remain. Code: ``` require 'ferrum' x = Ferrum::Browser::Xvfb.new(OpenStruct.new({...
This PR adds an option for Ferrum to use the default browser context instead of a created BrowserContext that doesn't have access to the persisted browser state. I know that...
**Describe the bug** I'm not sure how to supply a useful bug report here given the bizarre behaviour but - we have a large RSpec test suite including lots of...
**Describe the bug** Normally, `build_exchange` is called upon `Network.requestWillBeSent`: https://github.com/rubycdp/ferrum/blob/5ca5e9ed5e9ac8be580589e234aadc1de6929bc0/lib/ferrum/network.rb#L387-L388 When a `whitelist` is registered, a `Fetch.requestPaused` event is also registered and causes `build_exchange` to be called again for the...
**Describe the bug** When the browser finds an iframe in the DOM, it publishes a `Page.frameAttached event`, then Ferrum takes the params and uses them to create a Frame object...
**Describe the bug** When upgrading to Ferrum 0.15 using Cuprite 0.15.1 we get errors in all our tests. The error being returned is ` Ferrum::BrowserError: Message may have string 'sessionId'...
**Describe the bug** Ferrum gives error on top level await calls in javascript **To Reproduce** Running the following javascript (through Cuprite, but the issue is in Ferrum): ```ruby page.execute_script "await...
Fixes #467