Skip to content

Commit

Permalink
[rb] fix bug in chromedriver arguments for logging to file
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Sep 26, 2023
1 parent 313ac20 commit 2774381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/chrome/service.rb
Expand Up @@ -28,7 +28,7 @@ class Service < WebDriver::Service
def log
return @log unless @log.is_a? String

@args += ['--log-path', @log]
@args << "--log-path=#{@log}"
@log = nil
end
end # Service
Expand Down
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/edge/service.rb
Expand Up @@ -28,7 +28,7 @@ class Service < WebDriver::Service
def log
return @log unless @log.is_a? String

@args += ['--log-path', @log]
@args << "--log-path=#{@log}"
@log = nil
end
end # Service
Expand Down

0 comments on commit 2774381

Please sign in to comment.