Bump Selenium driver up to 2.40.0.

This means it can open and work with Firefox 20+