Selenium 2.43.1 compatibility

See https://github.com/vvo/selenium-standalone/commit/3325b8e72ad95fd7a7ef895ec977fe48b4c9f5fc.