Skip to content

Commit

Permalink
Fix Firefox path under cygwin - Issue #6908
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Mar 8, 2019
1 parent a1e70a5 commit 13c5bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/firefox/binary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def path
raise Error::WebDriverError, "unknown platform: #{Platform.os}"
end

@path = Platform.cygwin_path(@path) if Platform.cygwin?
@path = Platform.cygwin_path(@path, windows: true) if Platform.cygwin?

unless File.file?(@path.to_s)
error = "Could not find Firefox binary (os=#{Platform.os}). "
Expand Down

0 comments on commit 13c5bb0

Please sign in to comment.