From 935226b1c49a4067bf4fc5b9a89205a1b40a0ccb Mon Sep 17 00:00:00 2001 From: titusfortner Date: Fri, 2 Dec 2022 12:42:00 -0600 Subject: [PATCH] [rb] Selenium Manager wrapper is adding exe twice --- rb/lib/selenium/webdriver/common/selenium_manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rb/lib/selenium/webdriver/common/selenium_manager.rb b/rb/lib/selenium/webdriver/common/selenium_manager.rb index 14c30e4b02aae..de92c845c5e00 100644 --- a/rb/lib/selenium/webdriver/common/selenium_manager.rb +++ b/rb/lib/selenium/webdriver/common/selenium_manager.rb @@ -34,7 +34,7 @@ class << self # @return [String] the path to the correct driver. def driver_path(driver_name) @driver_path ||= begin - unless %w[chromedriver geckodriver msedgedriver IEDriverServer.exe].include?(driver_name) + unless %w[chromedriver geckodriver msedgedriver IEDriverServer].include?(driver_name) msg = "Unable to locate driver with name: #{driver_name}" raise Error::WebDriverError, msg end