Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Error when trying to solve recaptcha v2 #2

Closed
RichardAtCT opened this issue Jul 30, 2022 · 1 comment
Closed

Error when trying to solve recaptcha v2 #2

RichardAtCT opened this issue Jul 30, 2022 · 1 comment

Comments

@RichardAtCT
Copy link

Hey! Not sure if I am doing something wrong, but I am getting the following error when trying to use the solveRecaptcha() function. Any guesses? :)

File "/Users/.../site-packages/byerecaptcha/byerecaptcha.py", line 370, in solveRecaptcha getFrames(invisible) File "/Users/.../site-packages/byerecaptcha/byerecaptcha.py", line 81, in getFrames CheckBox = WebDriverWait(driver, 10).until(EC.presence_of_element_located((By.ID, "recaptcha-anchor"))) File "/Users/.../site-packages/selenium/webdriver/support/wait.py", line 90, in until raise TimeoutException(message, screen, stacktrace)

@DedInc
Copy link
Owner

DedInc commented Sep 4, 2022

You need to use solveRecaptcha(driver), where driver - selenium driver!

Also, on some websites element recaptcha-anchor doesn't exists and byerecaptcha can't find it :)

@DedInc DedInc closed this as completed Sep 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants