ChromeDriver run without Chrome installed?

Viewed 1709

Short question. Is there possibility to run chromedriver and selenium work without chrome app installed? Thanks

1 Answers

The answer is No. You have to have the chrome application inside your computer. However, you do not need t install it. It will work with any portable Chrome versions as well. You simply have to point to the chrome executable location during tests.

ChromeOptions options = new ChromeOptions();
options.setBinary("/path/to/chrome/binary");

ChromeDriver driver = new ChromeDriver(options);
Related