SimonStewart: some versions of firefox complain that window is not defined, causing the firefox driver not to load properly.
SimonStewart: some versions of firefox complain that window is not defined, causing the firefox driver not to load properly.

r11545

krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate,krosenvold/selenium-git-release-candidate