We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 709ddbc commit 3201b58Copy full SHA for 3201b58
rb/lib/selenium/webdriver/firefox/binary.rb
@@ -170,8 +170,8 @@ def windows_path
170
171
def macosx_path
172
path = "/Applications/Firefox.app/Contents/MacOS/firefox-bin"
173
- path = "~/Applications/Firefox.app/Contents/MacOS/firefox-bin" unless File.exist?(File.expand_path(path))
174
- path = Platform.find_binary("firefox-bin") unless File.exist?(File.expand_path?(path))
+ path = File.expand_path("~/Applications/Firefox.app/Contents/MacOS/firefox-bin") unless File.exist?(path)
+ path = Platform.find_binary("firefox-bin") unless File.exist?(path)
175
176
path
177
end
0 commit comments