Upgrade to selenium 2.40