The interesting new issue on Firefox3 is SSL cert exception page blocking Selenium automation. On Firefox2, we invoke RMD.xpi XPCOM in Selenium to intercept all bad cert exception for our self-signed certificates. However, it doesn't work on Firefox3 now that RMD.xpi's author said it only supported Firefox2. Firefox3 introduced a new SSL certificate exception rule. We must find a new workaround.
Block step:
Try below selenium ssl test case:
<tr> <td>open</td> <td>http://kuix.de/mozilla/certwarndiscussion/proposal20061016/</td> <td></td> </tr> <tr> <td>open</td> <td>https://www.cacert.org</td> <td></td> </tr> <tr> <td>open</td> <td>https://www.kuix.de</td> <td></td> </tr> <tr> <td>open</td> <td>https://mur.at</td> <td></td> </tr> <tr> <td>open</td> <td>https://kuix.de:9443</td> <td></td> </tr> <tr> <td>open</td> <td>https://www.kuix.de:9443</td> <td></td> </tr>I plan to create a new project 'Remember Certificate Exception'(RCE) on AMO today. The RCE.xpi's purpose is auto-complete Firefox3 certificate exception override.
Now that RCE is available, what is the right way to put this extension into a custom Firefox profile? I would just use this sort of profile by specifying it as the "firefoxProfileTemplate" argument to selenium server.
ReplyDelete