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

Chrome allows to specify file scheme to an URL. When a non-existent file is specified, Chrome returns `ERR_CONNECTION_TIMED_OUT`. But `ferrum` doesn't handle that error. So in that case, an error...

``` test.rb: require "ferrum" browser = Ferrum::Browser.new browser.go_to("https://google.com") browser.screenshot(path: "google.png") browser.quit bundle exec ruby test.rb Traceback (most recent call last): 7: from test.rb:2:in `' 6: from test.rb:2:in `new' 5: from...

- Implement `Ferrum::Node#school_into_view` - Implement `Ferrum::Node#in_viewport?` - restore specs with context: `when the element is not in the viewport of parent element`

ready for review

This commit passes the 'proxy-server' parameter to a remote Chrome instance (meaning passing a `:url` parameter) so that you can use something like the puffing-billy gem as a MITM proxy...

closes #82

enhancement
ready for review

Hi, We've been using Cuprite for a long time, and in the last year or so we've started to see an increasing rate of failures for `DeadBrowserError` in our CI...

```ruby br = Ferrum::Browser.new # no matter :headless true or false br.evaluate "[innerHeight, outerHeight]" ``` The `innerHeight` is expected to be smaller than `outerHeight`: https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight But in fact they are...

Today, to set a browser option, you need to: ```ruby Ferrum::Browser.new(browser_options: { 'no-sandbox': nil }) ``` This semantics can be misleading because, at least from my perspective, `nil` is associated...

Hello, I'm trying to intercept the response body of an XHR request. After looking through the spec files, I saw that Ferrum keeps track of all of the network traffic,...