From c081327e10b80d899be7a227deef7ee4a0276ff3 Mon Sep 17 00:00:00 2001 From: Xewdy <95155966+Xewdy444@users.noreply.github.com> Date: Sun, 30 Jul 2023 12:37:55 -0500 Subject: [PATCH] Removed token property from reCAPTCHA v2 solvers --- playwright_recaptcha/recaptchav2/async_solver.py | 5 ----- playwright_recaptcha/recaptchav2/sync_solver.py | 5 ----- 2 files changed, 10 deletions(-) diff --git a/playwright_recaptcha/recaptchav2/async_solver.py b/playwright_recaptcha/recaptchav2/async_solver.py index 49509e0..e5ad249 100644 --- a/playwright_recaptcha/recaptchav2/async_solver.py +++ b/playwright_recaptcha/recaptchav2/async_solver.py @@ -517,11 +517,6 @@ async def _get_recaptcha_box(self) -> AsyncRecaptchaBox: return recaptcha_box - @property - def token(self) -> Optional[str]: - """The `g-recaptcha-response` token.""" - return self._token - def close(self) -> None: """Remove the response listener.""" try: diff --git a/playwright_recaptcha/recaptchav2/sync_solver.py b/playwright_recaptcha/recaptchav2/sync_solver.py index 1819dc6..d96c4ae 100644 --- a/playwright_recaptcha/recaptchav2/sync_solver.py +++ b/playwright_recaptcha/recaptchav2/sync_solver.py @@ -490,11 +490,6 @@ def _get_recaptcha_box(self) -> SyncRecaptchaBox: return recaptcha_box - @property - def token(self) -> Optional[str]: - """The `g-recaptcha-response` token.""" - return self._token - def close(self) -> None: """Remove the response listener.""" try: