rubyselenium-chromedrivercapybara

Chromedriver `driver.manage.logs.get(:browser)` fails on chromedriver 75.0.3770.8


While accessing driver.manage.logs.get(:browser) on chromedriver 75.0.3770.8 I'm getting this error:

undefined method `log' for #<Selenium::WebDriver::Remote::W3C::Bridge:0x0000562dc661c250> (NoMethodError)

Works fine on 74.0.3729.6

from: https://github.com/SeleniumHQ/selenium/issues/7270


Solution

  • Capybara 3.24 now works around this issue when used with chromedriver >= 75.0.3770.90