Capybara Version: 3.40.0
Driver Information (and browser if relevant): selenium-webdriver (4.17.0), chrome 121.0.6167.139
Expected Behavior
Visiting about:blank and then calling clear_storage should silently fail (thanks to the rescue JavascriptError line in lib/capybara/selenium/driver.rb:351 )
Meta
Capybara Version: 3.40.0 Driver Information (and browser if relevant): selenium-webdriver (4.17.0), chrome 121.0.6167.139
Expected Behavior
Visiting
about:blank
and then callingclear_storage
should silently fail (thanks to therescue JavascriptError
line in lib/capybara/selenium/driver.rb:351 )Actual Behavior
It looks like
WebDriverError
needs to be caught also?