1chromedriver = "/path/to/chromedriver"
2options = Options()
3options.binary_location = '/path/to/chrome'
4driver = webdriver.Chrome(chromedriver, chrome_options=options)
5
1ChromeOptions options = new ChromeOptions();
2options.setBinary("/path/to/chrome/binary");
3
4ChromeDriver driver = new ChromeDriver(options);
5
1/**
2 * Create the RemoteWebDriver instance.
3 *
4 * @return \Facebook\WebDriver\Remote\RemoteWebDriver
5 */
6protected function driver()
7{
8 return RemoteWebDriver::create(
9 'http://localhost:9515', DesiredCapabilities::chrome()
10 );
11}