I have some Selenium 2 WebDriver
test cases for Firefox
and Internet Explorer 9
. When I access HTTPS URLs
on IE9
(Windows 7 64 bit) I get:
There is a problem with this website's security certificate.
At this point the test hangs and eventually fails.
I tried:
Getting
Selenium
to click on theContinue to this website (not recommended).
link. This can't be done as this error page is not your usual page. Same withJavaScript
- it doesn't execute.I tried adding the registry key (
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_ERROR_PAGE_BYPASS_ZONE_CHECK_FOR_HTTPS_KB954312
), that prevents thecertificate-error-page
from displaying - didn't work. Probably, because I'm onWindows 7
withIE9
.Following this advice I tried using
BrowserMob proxy
, but there's very little documentation out there and I couldn't work it out.
Finally, I don't have admin access
to my PC
- e.g. no access to group policies. Selenium 2 WebDriver
works fine on Firefox
. I have all security zones enabled in IE Internet Options
and if I run the tests on other URLs (HTTP)
, then there is no problem.
Has anyone got a solution to this problem?
Does anyone know how to use BrowserMob
proxy (or any other proxy) effectively to overcome this issue?