Feb-21-2019, 04:11 PM
def FindElementById(Element):
clickable = wait.until(EC.element_to_be_clickable((By.ID, Element)))
clickable.click()Chrome.FindElementById("user-id")It is not able to perform the click function, and it seems like waiting for the element to present.Thus, I wait until got TimeOutException.
Then I try this method
time.sleep(3)
Chrome.FindElementById("user-id")And it able to perform the click after 3 seconds wait.May I know why?
