ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

How can i disable --ignore-certificate-errors? #881

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am running selenium-server-standalone-2.42.2.jar with chromedriver on debian, 
with the Haskell webdriver binding that uses plain HTTP to talk to the hub.

Chrome warns that it is run with --ignore-certificate-errors, which is nice 
because that actually is an issue for me.  I need chrome to crash if the 
certificate cannot be verified.

I think I could benefit from a hint where to look.  The HTTP trace does not 
contain anything useful, so it must be selenium or chromedriver that adds this 
flag by default.

How can I un-add it?

I have read these:

http://www.abodeqa.com/2013/05/03/accepting-untrusted-ssl-certificate-in-webdriv
er-for-chrome-and-firefox-browser/
http://www.abodeqa.com/2014/06/18/using-unsupported-command-line-flag-ignore-cer
tificate-errors-stability-security-will-suffer-handling-webdriver-using-chromeop
tions/

But they just tell me how to silence the warning.

Original issue reported on code.google.com by m.fischm...@googlemail.com on 17 Aug 2014 at 2:20

GoogleCodeExporter commented 9 years ago
Try to take a look at the capability "excludeSwitches" here: 
https://sites.google.com/a/chromium.org/chromedriver/capabilities.

Hope it helps!

- Regin

Original comment by regin.la...@eksponent.com on 28 Aug 2014 at 11:35

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18