Selenium over self verifed HTTPS November 5, 2009
Data loving developer/ leader/ product shaper, life-long learner, dog owner, crafter, 30yearsagotoday tweeter, photographer, reader, brightonbloggers administrator, occasional gardener and even more occasional snowboarder
This blog contains random thoughts on random subjects — sometimes about stuff I've made (via craft or code), sometimes my rants and ramblings about a miscellany of things, and sometimes more personal, reflective pieces.
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.