updated the selenium version from 37 to 40