capybara-webmock
capybara-webmock copied to clipboard
Mock external requests for Capybara JavaScript drivers
The selenium-webdriver gem's `headless!` method was deprecated, it now raises a warning. This updates to use the recommended syntax. This new syntax is NOT compatible with Chrome versions before v109....
In selenium-webdriver 4.8.0, the `:capabilities` argument for Capybara::Selenium::Driver#new was deprecated and now raises a warning. This updates the Capybara Chrome driver registrations to use updated syntax that does not raise...
This prevents build failures on Ruby 3.2.
I'm using this gem to stub external requests but it has no effect so far. My configuration in `spec/spec_helper.rb`: ```ruby require 'capybara/rspec' require 'capybara/webmock' Capybara.javascript_driver = :capybara_webmock_chrome_headless require 'webmock/rspec' RSpec.configure...
Hello! Related to https://github.com/hashrocket/capybara-webmock/issues/44 and https://github.com/hashrocket/capybara-webmock/pull/45, I'm trying to use bundler to install **capybara-webmock** gem, but I'm still getting the next error: ``` In Gemfile: capybara-webmock (~> 0.6.0) was resolved...