Chromedriver Download

Download Chromedriver.exe For MacChromedriver.exe

WebDriver for Chrome. By default ChromeDriver logs only warnings/errors to stderr. When debugging issues, it is helpful to enable more verbose logging. Jun 06, 2018. (The PATH variable helps Chrome find the downloaded ChromeDriver exe). Also it’s a lot of work for something so common. Never fear, here is a better way: Installing on macOS: Listed in order of easiest to hardest install, these are the best ways to install ChromeDriver on a Mac. Jun 05, 2012.

Download Chromedriver.exe For Mac High Sierra

Download

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.

C#

var service = ChromeDriverService.CreateDefaultService();
service.LogPath = 'D:chromedriver.log';
service.EnableVerboseLogging = true;
driver = new ChromeDriver(service);
There are overloaded version of both functions, see the API documentation.

Java

System.setProperty('webdriver.chrome.logfile', 'D:chromedriver.log');
System.setProperty('webdriver.chrome.verboseLogging', 'true');

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.