Open avyuktarun opened 4 years ago
@avyuktarun - seems to be related to ssl..
Have you tried setting acceptInsecureCerts : true
in conf.js file ?
i am still getting the same error that Your connection is not private
exports.config = { seleniumAddress: 'http://localhost:4444/wd/hub', specs: ['spec1.js'], acceptInsecureCerts : true };
I had similar issue with recent version's of chrome, send the below config, it will work but in non secure version of browser, so this a workaround.
'browserName': 'chrome',
'chromeOptions': {
'args': ['--disable-web-security', '--user-data-dir=~/.e2e-chrome-profile', '--ignore-certificate-errors']
}
no, still this is not working with browser.get("https://angularjs.org"); so what I did is I have tried with browser.get('http://juliemr.github.io/protractor-demo/') this works but not with any other websites like google.com or facebook.com for all these sites I get err_invalid_cert
Hi, I was facing the same issue, tried everything commented previously. I noticed that in some examples, they used directConnect So I stopped the selenium server and use directConnect value in my config file
exports.config = { specs: ['spec1.js'], directConnect: true, seleniumAddress: 'http://localhost:4444/wd/hub', };
After that, I was able to open the angularjs page in chrome without any issues.
As soon as I commented the directConnect and start the server again with Webdriver-manager start, the issue (your connection is not private message) was displayed again
Here are my specs: OS: macOS Catalina 10.15.7 Protractor: 7.0.0 Chrome: 86.0.4240.80
System Details Mac OS, Chromedriver v=83.0.4103.39 , Protractor=7.0 My test is failing all the time when chromedriver opens any website it says your connection is not private please let me know how to fix this issue
My spec.js looks like below
describe('angularjs homepage todo list', function() { it('should add a todo', function() { browser.get('https://angularjs.org');
}); }); config.js looks like below
exports.config = { seleniumAddress: 'http://localhost:4444/wd/hub', specs: ['spec.js'], }; javascript