ferrum
ferrum copied to clipboard
Headless Chrome Ruby API
If the CDP command `Page.navigate` in `Ferrum::Page#go_to` exceeds the timeout but no network traffic is pending, the application flow resumes. However, the browser instance seems to have a lingering connection...
I am trying to generate a PDF from a page in my app via ferrum (by way of ferrum_pdf). When running my script with `FERRUM_DEBUG=1` set, I get expected data...
**Describe the bug** The browser gives up / stuck when the `page.evaluate` is returning large (500+) array items. `Error: Ferrum::DeadBrowserError: Browser is dead or given window is closed` Well I...
Work in progress. To use this: ``` page.driver.browser.page.start_screencast(save_dir) page.driver.browser.page.stop_screencast ``` This only saves images, it's not true video/screencasting but that is actually what Chrome provides. This could become a 'real'...
**Describe the bug** Ferrum 0.17.1 is incompatible with Ruby 3.4 due to a breaking change in the forwardable module. The array-based delegate syntax for setter methods (ending in =) causes...
This error occurred when trying to initialize Chromium in AWS ECS Fargate containers: `Browser did not produce websocket url within 60 seconds, try to increase ':process_timeout'` The underlying cause revealed...
I'm probably missing a key reason that this is required. But why is that I have to have a locally installed chromium binary if I'm operating a remote chrome via...
**Describe the bug** The `host` option for Chrome no longer works since Google has dropped support for `--remote-debugging-address`: https://issues.chromium.org/issues/41487252 What I'd like to do is initiate an instance of `Ferrum::Browser`...
Have added the following extra browser flags for Chrome. They disable a bunch of stuff that isn't needed when just loading HTML and exporting to a PDF (things like updating...
**Describe the bug** When running Ferrum with flatten mode enabled (`Target.setAutoAttach flatten: true`), calling `Browser.setDownloadBehavior` with `browserContextId` fails with: "Failed to find browser context for id ". Switching to `flatten:...