Selenium over self verifed HTTPS November 5, 2009
Often found in front of a computer, loom or sewing machine.
My selenium scripts had been working on the theory that I'd already started the selenium server, i.e. relying on me running a .bat file containing
java -jar "C:\Program Files\SeleniumServer\selenium-remote-control-1.0.1\selenium-server-1.0.1\selenium-server.jar" but after reading this article I changed my project to use the SeleniumTestBase code example which allows me to use the firefoxProfileTemplate argument to tell firefox which profile to run under. All of my tests now inherit from SeleniumTestBase and the selenium server starts as part of the test which feels a lot cleaner. Oh, and the tests over the self-verified SSL certificate work too.