Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
105
rated 0 times [  111] [ 6]  / answers: 1 / hits: 39922  / 10 Years ago, wed, may 21, 2014, 12:00:00

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):




You are using an unsupported command-line flag --ignore-certificate-errors. Stability and security will suffer.




Here is my conf.js for Protractor:



exports.config = {

seleniumAddress: 'http://localhost:4444/wd/hub',
capabilities: {
'browserName': 'chrome'
},

...


Also, I am using a Mac with the latest available Chromedriver and Selenium standalone server (2.41.0). Now, I haven't set this flag anywhere, and I don't recall it always displaying so I'm not sure what caused this problem.



Any ideas on how to resolve this issue?


More From » node.js

 Answers
3

If you use Protractor, this is probably the configuration you're looking for:



capabilities : {
browserName : 'chrome',
'chromeOptions': {
args: ['--test-type']
}
},

[#70927] Sunday, May 18, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
brendan

Total Points: 426
Total Questions: 110
Total Answers: 94

Location: Western Sahara
Member since Mon, May 3, 2021
3 Years ago
;