ferrum icon indicating copy to clipboard operation
ferrum copied to clipboard

Headless Chrome Ruby API

Results 85 ferrum issues
Sort by recently updated
recently updated
newest added

Hi, I'm getting a lot of timeout errors when running `@browser.network.wait_for_idle` and debugging it, seems that the reason is that the https website is trying to make http requests but...

https://chromedevtools.github.io/devtools-protocol/tot/DOM/#event-documentUpdated ### Problem Since ferrum tracks node ids in frontend but does not listen to DOM.documentUpdated it's possible that the following sequence of events happens: 1. Ferrum::Node has node_id in...

I wish to be able to use ferrum to load a webpage and take a screenshot of a specific screen portion. it should be delimited by x,y,w,h or css selector....

**Steps to reproduce:** ``` require "ferrum" browser = Ferrum::Browser.new browser.go_to("http://grmdaily.com/") browser.evaluate("pbjs.getConfig()") #throws error stack below ``` **Error Stack:** ``` 2022-08-22T15:47:44.660Z pid=86509 tid=3xh WARN: NoMethodError: undefined method `[]' for nil:NilClass 2022-08-22T15:47:44.660Z...

References [https://github.com/rubycdp/ferrum/issues/400](https://github.com/rubycdp/ferrum/issues/400). For the JRuby implementations, use Java ProcessBuilder to redirect Chrome process output to a specific file instead of stdout.

So, I need to control my Chrome, which I starts with terminal command: `google-chrome --remote-debugging-port=9222` For example with Golang library, I can do it like this: ``` func main() {...

**OS**: Microsoft Windows Server 2019 Datacenter **JRuby version**: 9.3.7.0 **Ferrum version**: 0.13 **Chrome version**: 116.0.5845.187 When running data stream operations on Windows/JRuby, Chrome fails with "Unable to create temporary file"....

jruby

When running ferrum 0.14 with Ruby 3.3.0, the following warning was output. ``` /vendor/bundle/ruby/3.3.0/gems/ferrum-0.14/lib/ferrum/browser.rb:3: warning: base64 was loaded from the standard library, but will no longer be part of the...

# Details Similar to what is being proposed in #420, this PR fixes intermittent `Ferrum::TimeoutError` as the driver awaits for requests to be completed. # What It was observed that...

needs feedback

Implementation of: * https://github.com/rubycdp/ferrum/issues/388 Hey @route, this is a follow up to our conversation as far as service worker support. I based this PR on your comment: * https://github.com/rubycdp/ferrum/issues/388#issuecomment-1681602670 This...

needs feedback