lib/selenium/webdriver/common/driver_finder.rb in selenium-webdriver-4.9.0 vs lib/selenium/webdriver/common/driver_finder.rb in selenium-webdriver-4.9.1
- old
+ new
@@ -26,10 +26,11 @@
path ||= Platform.find_binary(klass::EXECUTABLE)
path ||= begin
SeleniumManager.driver_path(options)
rescue StandardError => e
- WebDriver.logger.warn("Unable obtain driver using Selenium Manager\n #{e.message}")
+ WebDriver.logger.warn("Unable to obtain driver using Selenium Manager\n #{e.message}",
+ id: :selenium_manager)
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/'
raise Error::WebDriverError, msg unless path