cuprite
cuprite copied to clipboard
Headless Chrome/Chromium driver for Capybara
Currently on `main`, [focus-related events](https://github.com/rubycdp/cuprite/blob/503179f8f210c9d431f7f62bc20a68812cffd0e3/lib/capybara/cuprite/javascripts/index.js#L6) (blur, focus, focusin, and focusout) create a JavaScript `Event` object. However, as can be seen by clicking into and out of the input in [this...
**Describe the bug** Working on switching from Selenium to cuprite. One of the errors I see frequently is ``` Ferrum::TimeoutError: Timed out waiting for response ``` Digging in to one...
When `window-size` and `start-maximized` parameters are passed to Chrome, `window-size` takes precedence. With cuprite, there's no way not to pass `window-size`, thus no way to maximize the window. The following...
In autotesting at my job they use firefox/webdriver since the ice age, and I want to make us use chrome/cdp. After writing some tests under the old framework I got...
The documentation was not write because network_traffic methot returns Ferrum::Network::Exchange and not Request. So I updated the documentation and make it a bit clearer :)
Hello! I'm running into an error since upgrading to Cuprite 0.15.1. The error is actually coming from Chromium and it is... ``` Failure/Error: Capybara.reset!09:08 Ferrum::BrowserError:09:08 Disposal of browser context 0D6BC3684090E3E767889D43DD13346D...
After updating past Chromium 127, running RSpec tests on PDF downloads now uniformly time out. We use this somewhat popular helper code to yield the download after clicking a PDF...
:rotating_light: **WIP - do not merge** :rotating_light: Currently, when creating a Cuprite driver, it's not possible to specify that it should have mobile emulation enabled. This PR adds that functionality....
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...
This PR introduces several new targets to `Page#set`: * date * time * datetime-local * range