Fix for Selenium 2.31