We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe4bc76 commit 0081a5dCopy full SHA for 0081a5d
rb/lib/selenium/webdriver/common/selenium_manager.rb
@@ -45,7 +45,7 @@ def driver_path(options)
45
driver_path = output['driver_path']
46
Platform.assert_executable driver_path
47
48
- if options.respond_to? :binary
+ if options.respond_to?(:binary) && browser_path && !browser_path.empty?
49
options.binary = browser_path
50
options.browser_version = nil
51
end
0 commit comments