use WebDriverWait in wait method