XCOMMONS-442: Upgrade to Selenium 2.40