Reputation: 99
Short question. Is there possibility to run chromedriver and selenium work without chrome app installed? Thanks
Upvotes: 4
Views: 3352
Reputation: 2776
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);
Upvotes: 4