您可以在ChromeOptions中为Chrome二进制文件指定非标准位置。
ChromeOptions options = new ChromeOptions();options.setBinary("/path/to/other/chrome/binary");请参阅以下ChromeOptions文档:https :
//sites.google.com/a/chromium.org/chromedriver/capabilities#TOC-Using-a-
Chrome-executable-in-a-non-standard-
location



