cuprite
                                
                                
                                
                                    cuprite copied to clipboard
                            
                            
                            
                        Headless Chrome/Chromium driver for Capybara
(I've done very little digging and maybe this should be posted to Ferrum) Using Ruby 3.x ```ruby require 'async' require 'benchmark' require 'capybara/dsl' require 'capybara/cuprite' include Capybara::DSL Capybara.javascript_driver = :cuprite...
In our test suite, we also test with mobile user agents. We do this by creating several different drivers with different user agents. Coming from Selenium, I was used to...
Since for example this https://stackoverflow.com/a/45323528/322020 ```none .native.clear ``` throws: ```none NoMethodError (undefined method `clear' for #) ```
It now raises an error but a warning would be more appropriate, with optional mute
I realized cuprite is not respecting the wait time on `find`, same as described here: https://github.com/rubycdp/cuprite/issues/122 Cuprite defines the following exceptions to be caught by capybara and allow retries: ```ruby...
`debug` method access the DevTools discovery page. But the page is deprecated now.  Ref: https://bugs.chromium.org/p/chromium/issues/detail?id=1232509 They suggest to use `chrome://inspect` instead. But, if my understanding is...
This PR aims to resolve two issues: 1. Intercepted requests [would](https://github.com/rubycdp/cuprite/blob/master/lib/capybara/cuprite/page.rb#L142) [always](https://github.com/rubycdp/cuprite/blob/master/lib/capybara/cuprite/page.rb#L146) be continued when a black or whitelist was used, regardless of if the [callback](https://github.com/rubycdp/cuprite/blob/master/lib/capybara/cuprite/page.rb#L137-L157) that applies the white/blacklist...
It's possible for Cuprite to evaluate the parents or the path for a node that no longer belongs to the document.
Hey! Ran `rspec` on Windows (mingw64) and a few test broke: ``` Failures: 1) Capybara::Cuprite::Driver supports a custom path Failure/Error: @pid = ::Process.spawn(*@cmd, process_options) Errno::ENOEXEC: Exec format error - C:/Users/pniez/Documents/cuprite/spec/support/custom_chrome...