Skip to content

Commit

Permalink
[rb] Avoid overescaping browser path
Browse files Browse the repository at this point in the history
Related to #13632
  • Loading branch information
p0deje committed Mar 11, 2024
1 parent 420f074 commit a66db94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/common/selenium_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def generate_command(binary, options)
end
if options.respond_to?(:binary) && !options.binary.nil?
command << '--browser-path'
command << options.binary.gsub('\\', '\\\\\\')
command << options.binary.squeeze('\\').gsub('\\', '\\\\\\')
end
if options.proxy
command << '--proxy'
Expand Down

0 comments on commit a66db94

Please sign in to comment.