-
Notifications
You must be signed in to change notification settings - Fork 38
Timeout exception: will not solve recaptcha on VFS website #21
Comments
I think this is related to the issue I just created - where the iframe's source is different to what the solver code looks for by default. See #22 |
Hi, Thanks for letting me know about this issue. I looked into it, and the issue comes from the iframe's src attribute. What I've done is change the logic to use I have deployed a new version of the package, so please let me know if any more issues arise. Have a nice day! |
Hello, Thanks for the fix. Traceback (most recent call last): Could you please advise is it a bug in your code or I am misusing your module? Thanks |
Hello, Could you send me your script, so I can see if it's a package-related or a script-related issue? (Please make sure to remove any sensitive data like passwords, personal data, etc) I tested my changes on that page, and they worked fine, so I suspect it's related to your script. Thank you for your feedback. |
Hello, Please see below: ` import traceback from solveRecaptcha import solveRecaptcha class MyWebDriver:
class Country: class Util: class VfsGlobal:
vfsglobal = VfsGlobal(username="", password="", country=Country.CZECH) |
Dear developer,
Thank you for your work on this module.
I am trying to solve recaptcha on below page:
https://visa.vfsglobal.com/gbr/en/cze/login
It has V2 and V3 captchas, so I am trying to use your module for solving V2 as I guess it is not solving V3.
This is the code I use:
test_driver.get('https://visa.vfsglobal.com/gbr/en/cze/login')
recaptcha_iframe = test_driver.find_elements(By.XPATH, '//iframe[@title="reCAPTCHA"]')[0] # as there are 2 reCaptcha iframes I pick first
solver.click_recaptcha_v2(iframe=recaptcha_iframe)
I can see script clicks on checkbox, image selection pops up but then selenium throws exception:
solver.click_recaptcha_v2(iframe=recaptcha_iframe)
File "\Projects\Python.venv\Lib\site-packages\selenium_recaptcha_solver\solver.py", line 81, in click_recaptcha_v2
captcha_challenge = self._wait_for_element(
^^^^^^^^^^^^^^^^^^^^^^^
File "\Projects\Python.venv\Lib\site-packages\selenium_recaptcha_solver\solver.py", line 230, in _wait_for_element
return WebDriverWait(self._driver, timeout).until(ec.visibility_of_element_located((by, locator)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\Projects\Python.venv\Lib\site-packages\selenium\webdriver\support\wait.py", line 95, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
Backtrace:
GetHandleVerifier [0x0094A813+48355]
(No symbol) [0x008DC4B1]
(No symbol) [0x007E5358]
(No symbol) [0x008109A5]
(No symbol) [0x00810B3B]
(No symbol) [0x0083E232]
(No symbol) [0x0082A784]
(No symbol) [0x0083C922]
(No symbol) [0x0082A536]
(No symbol) [0x008082DC]
(No symbol) [0x008093DD]
GetHandleVerifier [0x00BAAABD+2539405]
GetHandleVerifier [0x00BEA78F+2800735]
GetHandleVerifier [0x00BE456C+2775612]
GetHandleVerifier [0x009D51E0+616112]
(No symbol) [0x008E5F8C]
(No symbol) [0x008E2328]
(No symbol) [0x008E240B]
(No symbol) [0x008D4FF7]
BaseThreadInitThunk [0x75F97D49+25]
RtlInitializeExceptionChain [0x776BB74B+107]
RtlClearBits [0x776BB6CF+191]
May you check this please and share your thoughts.
Thanks
The text was updated successfully, but these errors were encountered: