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

**Context** Is there any specific reasons behind launching the Chrome process with [disable-web-security](https://peter.sh/experiments/chromium-command-line-switches/#disable-web-security)?https://github.com/rubycdp/ferrum/blob/19767d0885afbebc95574eda685e04dc9da2b47d/lib/ferrum/browser/options/chrome.rb#L12 This flag is _at least_ disabling the same-origin policy hence having security implications if the browser is...

Hi. great work over here. In out capybara spec we have used some javascript hook to check if all network is done. I found that ferrum can do it with...

Not actually a ferrum bug but I'm struggling to figure out how to disable Chrome's [HTTPS-First Mode](https://blog.chromium.org/2021/07/increasing-https-adoption.html) and was wondering if anyone had any ideas. It appears that the [new...

### Describe the bug Our Ferrum script starts having process_timeout errors after upgrading to the [Heroku/Chrome-for-testing buildpack](https://github.com/heroku/heroku-buildpack-chrome-for-testing). The [old heroku/google-chrome buildpack](https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-google-chrome) is deprecated in favor of chrome-for-testing so we were...

This pull request adds an API that exposes CDP's screencast capability. See the following: - [Page.startScreencast](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-startScreencast) - [Page.stopScreencast](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-stopScreencast) **Note**: At this time, the Chrome DevTools Protocol documentation still has screencast...

If you initialize Ferrum with a window size using remote browserless 2 - the window size is applied, but the viewport is not updated automatically. The DOM is rendered in...

I have a very simple rspec test that fails since I've updated to browserless 2 (via docker). The spec tries to set a header before sending the first request. I'm...

## The Bug So, I've been hunting this bug for almost five years. It is a little bit tough to reproduce because it's super random and only shows up in...

Came up in our large system spec suite, `Client` does not respond to `session_id`, so I'm assuming `target#session_id` should be right here. Haven't seen any errors related to that since.

There is a request on Cuprite to support mobile emulation: https://github.com/rubycdp/cuprite/issues/216 A prerequisite for this is for Ferrum to support `mobile: true` in `Page#resize`. This PR adds that support. Note...