, , , stdout , : service_log_path.
@browser = Watir::Browser.new :chrome, :service_log_path => 'chromedriver.out'
'-silent' '--silent', -silent', ' --silent', , , ...selenium\webdriver\chrome\service.rb. .
I could not find a place to capture stderr chromedriver and reject it to zero (not to mention the need to handle this in windows and in * nix / osx)
The driver should by default use something less verbose. In this case, INFO is too complicated, as hundreds of log entries are issued as INFO, with 90% + being identical.
At least an argument: service_log_pathmost of them work.
source
share