protractor version : 1.5.0
chrome version : 54.0.2840.71 m (64-bit)
protractor failed to launch chrome with the following error:
Using ChromeDriver directly... [launcher] Running 1 instances of WebDriver [launcher] Error: UnknownError: unknown error: cannot get automation extension
Check your chromeDriver Version and confirm weather it is compatible with your chorme version.
And check this : https://sites.google.com/a/chromium.org/chromedriver/downloads
worked for me like a charm:
ChromeOptions options = new ChromeOptions();
options.addArguments("start-maximized"); System.setProperty("webdriver.chrome.driver","/Users/vedavyasa/bank_emulation/test/lib/chromedriver"); webDriver = new ChromeDriver(options);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.