Skip to content

Commit

Permalink
[rb] convert binary locations for cygwin
Browse files Browse the repository at this point in the history
fixes #12618
  • Loading branch information
titusfortner committed Nov 25, 2023
1 parent d999931 commit 59b8f23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rb/lib/selenium/webdriver/common/selenium_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def driver_path(options)

output = run(*command)

browser_path = output['browser_path']
driver_path = output['driver_path']
browser_path = Platform.cygwin? ? Platform.cygwin_path(output['browser_path']) : output['browser_path']
driver_path = Platform.cygwin? ? Platform.cygwin_path(output['driver_path']) : output['driver_path']
Platform.assert_executable driver_path

if options.respond_to?(:binary) && browser_path && !browser_path.empty?
Expand Down

0 comments on commit 59b8f23

Please sign in to comment.