Created
February 29, 2020 22:19
-
-
Save teal33t/a01a3e1ce44467a7f67d2f0d5f31c266 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.log("Wait") | |
self.wait_between(LONG_MIN_RAND, LONG_MAX_RAND) | |
self.log("Find audio button") | |
audio_btn = WebDriverWait(driver, 50).until( | |
EC.element_to_be_clickable((By.XPATH ,'//button[@id="recaptcha-audio-button"]')) | |
) | |
self.log("Wait") | |
driver.implicitly_wait(10) | |
self.log("Click") | |
audio_btn.click() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment