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

Hello! I'm trying to use the [Emulation.setEmulatedMedia](https://chromedevtools.github.io/devtools-protocol/tot/Emulation/#method-setEmulatedMedia) query to set the media query to `print`, but I get the error: ``` 'Emulation.setEmulatedMedia' wasn't found (Ferrum::BrowserError) ``` Here is a single...

Cuprite/Ferrum is an amazing project, thank you for all the hard work! Our migration from Selenium so far has been painless. One spec gave us troubly though. The spec tests...

Hi guys. I'm trying to reduce traffic usage by not loading images. However, it seems that intercepted requests cannot be aborted when a proxy is used. Here's an example: ```ruby...

Hi! I'm thinking of trying to implement a method that uses Page.startScreencast and Page.stopScreencast to generate a video of the browser that can be saved (.mp4, .avi, etc, whatever) and...

I wanted to be able to have a callback similar to `on(:request)` but triggered once a response was received. This adds an additional callback for the [`Network.responseReceived`](https://chromedevtools.github.io/devtools-protocol/1-3/Network/#event-responseReceived) event when a...

I intend to `require 'ferrum/browser` to start a browser. However, `ferrum/browser.rb` misses a few dependencies. I add them in this PR. This PR doesn't fix other ruby files though.

This is admittedly not the most elegant API, but my goal is to start a discussion about how this should look. Here's how you'd subscribe and unsubscribe: ```ruby subscription =...

https://github.com/Nakilon/ferrum/commit/558fa60d361902ae30868e7019ecaa55f63b0c04

The extension I need does not work until I reload it but only in the weird window that opens on its own. ![image](https://github.com/rubycdp/ferrum/assets/2870363/1c9fe78b-1bc3-48c8-9e63-564fcf52679b) I've unpacked the CRX of [the extension](https://chromewebstore.google.com/detail/runet-censorship-bypass/npgcnondjocldhldegnakemclmfkngch)...

**Describe the bug** It raises if you try to use single quotes in a screenshot `:selector`. **To Reproduce** ```ruby require "bundler/inline" gemfile do source "https://rubygems.org" gem "ferrum", "0.15" gem "base64"...