-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add ability to create chromedriver.log #2402
Comments
👍 |
I just figured it out, and responded to the Stack Overflow post. Feel free to test it and update the protractor documentation. The only issue I have is that the chromedriver.log is overwritten with every browser that opens (instead of appending the file or creating a new file for each browser session), so it may not be helpful when running a suite of tests or with sharding turned on. If you're using the seleniumServerJar, in protractor.conf.js set the logfile path to wherever you want it to write the file:
If you're using webdriver-manager start to run a local selenium server, you'll need to edit the webdriver-manager file:
|
|
Just a minor clarification (it may help someone who is searching for this topic): |
I have seen that chromedriver can output a logfile (https://sites.google.com/a/chromium.org/chromedriver/logging)
This page shows how to set this up when executing the exe directly:
chromedriver.exe --verbose --log-path=chromedriver.log
There is no apparent way to set these arguments from protractor however.
See this StackOverflow question for more info:
http://stackoverflow.com/questions/31662828/how-to-access-chromedriver-logs-for-protractor-test/31662935
The text was updated successfully, but these errors were encountered: