Default location of ChromeDriver binary and Chrome binary on windows 7

13,061

chromedriver is not installed in your System by default. Users individually have to download chromedriver from ChromeDriver - WebDriver for Chrome page and you can place it anywhere within your system.

You must ensure that Chrome is installed at the optimum location as the server expects you to have Chrome installed in the default location for each system as per the snapshot below :

Chrome_Location

Note : For Linux systems, the ChromeDriver expects /usr/bin/google-chrome to be a symlink to the actual Chrome binary. You can also override the Chrome binary location following the documentation Using a Chrome executable in a non-standard location.

Share:
13,061
Achu
Author by

Achu

Updated on June 05, 2022

Comments

  • Achu
    Achu almost 2 years

    What is the default location of ChromeDriver binary and Chrome binary on windows 7 for triggering appium using java-client.jar? if i am using RemoteWebDriver and tries to initiate chrome browser, from where does the selenium initiates the chromedriver?

    the code:

    DesiredCapabilities capabilities = new DesiredCapabilities();
    capabilities.setCapability("userName", ReadProperties.Properties("MobileUsername"));
    capabilities.setCapability("password", ReadProperties.Properties("MobilePassword"));
    capabilities.setCapability("udid", ReadProperties.Properties("MobileUID"));
    capabilities.setCapability("browserName", ReadProperties.Properties("MobileBrowser"));
    capabilities.setCapability("platformName", ReadProperties.Properties("MobilePlatform"));
    log.Info(capabilities.getVersion());
    mobile_driver = new RemoteWebDriver(new URL(""+ReadProperties.Properties("MobileURL")+"/wd/hub"),capabilities);