I\'m a new user to Protractor, and I encountered this error running my tests using Chrome (error displays beneath the address bar in the launched browser):
I think this is a Chromedriver issue, I've raised an issue against Chromedriver https://code.google.com/p/chromedriver/issues/detail?id=799
In the meantime you can try downgrading Chrome to v34.
Selenium using C#.Net (Selenium + C#.Net)
public static IWebDriver Instance = null;
ChromeOptions opt = new ChromeOptions();
opt.AddArguments("--test-type");<br><br>
Instance = new ChromeDriver(@"Path To directory containing chromedriver.exe" , opt ) ;
It works for Google Chrome Version 47.0.2526.106 m.
#!/usr/bin/env node
var webdriver = require('selenium-webdriver');
var driver = new webdriver.Builder().withCapabilities({
browserName : 'chrome',
'chromeOptions': {
args: ['test-type']
}
}).build();