Skip to content

Commit

Permalink
[rb] Selenium Manager wrapper is adding exe twice
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Dec 2, 2022
1 parent 55dad42 commit 935226b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/common/selenium_manager.rb
Expand Up @@ -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
Expand Down

0 comments on commit 935226b

Please sign in to comment.