Made Selenium/Firefox tests work.