Selenium and HTTPS
This is documented elsewhere, but here it is again: The problem - you want to test a web site where you get a popup to accept an unrecognised certificate, eg when using a self-generated certifictate. Selenium cannot click on the resulting confirmation window, but worse still Selenium does not store your decision even though you have selected 'permanently accept' manually the first time. The solution - basically Selenium is launching a clean copy of the browser each time. So you need to create a persistent profile to use each time. As far as I know this is only possible with Firefox. Create a new Firefox profile (firefox.exe -profileManager). In this case the name of the new profile is selenium-https-profile Add the certificate to it Add a suitable .pac to redirect to the SeleniumServer function FindProxyForURL(url, host) { if(shExpMatch(url, '*/selenium-server/*')) { return 'PROXY localhost:4444; DIRECT'; } } Start the server ja