Logging

By default ChromeDriver logs only warnings/errors to stderr. When debugging issues, it is helpful to enable more verbose logging.

To enable verbose logging, simply pass --verbose to the chromedriver server. You can also pass --log-path to cause the log to be written to a file instead of stderr. If you don't start the chromedriver server directly yourself, you need to pass the switch via your WebDriver client library. Some clients do not have an option for this yet unfortunately.

Java

System.setProperty("webdriver.chrome.logfile", "D:\\chromedriver.log");
// TODO: there's no way to pass --verbose!

Python

driver = webdriver.Chrome(executable_path="D:\\chromedriver.exe", service_args=["--verbose", "--log-path=D:\\qc1.log"])

All languages

Start chromedriver in the command prompt/terminal with verbose logging:
chromedriver.exe --verbose --log-path=chromedriver.log
Run your test using a RemoteWebDriver pointed at http://localhost:9515.
Subpages (1): Performance Log