ChromeDriver
At times you may want to set special preferences or just use a custom profile altogether. If the former, you can use the '' capability (described later below) to specify preferences that will be applied after Chrome starts. If the latter, you can use the userdatadir Chrome commandline switch to tell Chrome which profile to use: