Selenium use Chromium instead of google-chrome Selenium use Chromium instead of google-chrome selenium selenium

Selenium use Chromium instead of google-chrome


From these docs: "For Linux systems, the ChromeDriver expects /usr/bin/google-chrome to be a symlink to the actual Chrome binary. See also the section on overriding the Chrome binary location ." Unfortunately that section does not appear to exist on that page but I think I found it elsewhere: executing in a non-standard location, so that's the way to go:

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