Skip to content

Commit 59b8f23

Browse files
committed
[rb] convert binary locations for cygwin
fixes #12618
1 parent d999931 commit 59b8f23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rb/lib/selenium/webdriver/common/selenium_manager.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ def driver_path(options)
4141

4242
output = run(*command)
4343

44-
browser_path = output['browser_path']
45-
driver_path = output['driver_path']
44+
browser_path = Platform.cygwin? ? Platform.cygwin_path(output['browser_path']) : output['browser_path']
45+
driver_path = Platform.cygwin? ? Platform.cygwin_path(output['driver_path']) : output['driver_path']
4646
Platform.assert_executable driver_path
4747

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

0 commit comments

Comments
 (0)