I downloaded ChromeDriver v 18 from the downloads page and tried
chromedriver.exe -log-path=c:\users\me\desktop\chromedriver.log
or
chromedriver.exe --log-path=c:\users\me\desktop\chromedriver.log
i see that it stills generates the chromedriver.og in the current directory
did I use this switch right?
sorry, i take that back, i downloaded one older version, the latest version
fixes it for me :)
Is it possible to include the --log-path switch when starting the
chromedriver from a remote selenium server? For example:
java -Dwebdriver.chrome.driver="/path/to/driver --log-path=/path/to/log"
-jar selenium-server-standalone.jar
Doesn't look like it:
Caused by: java.lang.IllegalStateException: The webdriver.chrome.driver
system property defined chromedriver executable does not exist:
/usr/bin/chromedriver --log-path=/path/to/log/chromedriver.log
Anyone have any ideas on this?
The fix added a command-line switch to chromedriver to allow a client to
specify the file, which is what the initial bug reporter initially wanted.
This can be used if you have direct control of running the chromedriver
process.
The 'webdriver.chrome.driver' system property for Java specifies the
location of the binary and not the command line string to use. I'm going to
leave this closed, but I opened a new bug for your request here:
http://code.google.com/p/selenium/issues/detail?id=3475