updated selenium version and better error logging when script hangs