lib/selenium/webdriver/common/driver_finder.rb in selenium-webdriver-4.8.2 vs lib/selenium/webdriver/common/driver_finder.rb in selenium-webdriver-4.8.3
- old
+ new
@@ -25,10 +25,10 @@
path = path.call if path.is_a?(Proc)
path ||= Platform.find_binary(klass::EXECUTABLE)
path ||= begin
SeleniumManager.driver_path(options)
- rescue Error::WebDriverError => e
+ rescue StandardError => e
WebDriver.logger.debug("Unable obtain driver using Selenium Manager\n #{e.message}")
nil
end
msg = "Unable to locate the #{klass::EXECUTABLE} executable; for more information on how to install drivers, " \
'see https://www.selenium.dev/documentation/webdriver/getting_started/install_drivers/'