updating webdriver dependency to 2.40