update to selenium 2.40.0