Update Selenium libs to 2.40.

Testing done:

VDD regression suite.