In IE9, how can I use watir-webdriver to get past the invalid certificate screen?

If it helps at all, its not a popup window in IE9 like it was in IE8. In 8, I handled it like any other popup, using driver. Getwindowhandles() and throw that into a set, and a set of more than 1 said I had an unexpected popup.In 9, I cant figure out what it is yet because my set is still only 1 for the main window.

It appears to be an ajaxy or scripty inline pop, but it is part of the browser. Searching elements on the page for it fails, and looking for new page handles fails also, its very elusive at the moment.

I may end up using a temporary workaround I had for another issue; figuring out where the element is and using autoit to hijack the mouse for a moment to physically click that spot after maximizing the window and giving it focus. – VGambit May 11 at 14:27.

In short, it appears that IE9 is handling this via a special page that disables most access to JavaScript and anything that a hacker might use on a malware site to automate their way around the warning. The way webdriver works is apparently close enough to what a hacker might try to do that it is also blocked in the same way. The best solution is just to add the source of the self-signed certificates to your trusted root certification authorities so that IE will see the cert as trusted and not complain.

The resulting experience more closely parallels what a real user would see when accessing a real production site with a valid certificate issued by a trusted cert authority.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions