Created
February 29, 2020 21:55
-
-
Save teal33t/4b4cf03d67adf24a7d8a5bb0147c653d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.wait_between(MIN_RAND, MAX_RAND) # wait | |
search_btn = WebDriverWait(driver, 20).until( EC.presence_of_element_located((By.ID ,"submit"))) | |
# Wait again | |
self.wait_between(MIN_RAND, MAX_RAND) | |
search_btn.click() # click on submit | |
self.wait_between(LONG_MIN_RAND, LONG_MAX_RAND) # wait again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment