Skip to content

Commit 35f6ef2

Browse files
committed
[rb] fix bug in selenium manager escaping back slashes in Windows (#11884)
1 parent a5b0ad9 commit 35f6ef2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def driver_path(options)
4747
end
4848
if options.respond_to?(:binary) && !options.binary.nil?
4949
command << '--browser-path'
50-
command << options.binary
50+
command << options.binary.gsub("\\", "\\\\\\")
5151
end
5252
command << '--debug' if WebDriver.logger.debug?
5353

0 commit comments

Comments
 (0)