set through WebDriverWait to proceed directly to the next step as soon as the desired element appears, but the element is loaded without click operation, and has been waiting for the web page to load, waiting for the web page to load before click. And I set the time limit to 15s, the web page loading time is more than 15s, and there is no exception?
driver = webdriver.Chrome()
driver.maximize_window()
driver.get(url)
try:
WebDriverWait(driver,15).until(expected_conditions.element_to_be_clickable(By.XPATH("//*[@id="tabLogin"]/a/img"))).click()
except Exception as e:
driver.quit()