chore: реализация детектора обязана установить stage
типо сигнал, что детект отработал корректно
This commit is contained in:
1 parent
23f8ee4360
commit
a0170c9754
2 files changed
+3
-1
No files matched your search
@@ -114,6 +114,7 @@ class ReCaptchaDetector(Detector):
|
||||
iframe = page.frame_locator("iframe[title='reCAPTCHA']")
|
||||
# ожидаем когда будет загружен чекбокс
|
||||
|
||||
info.stage = Stage.INTERSTITIAL
|
||||
checkbox = iframe.locator(checkbox_selector)
|
||||
try:
|
||||
await checkbox.wait_for(state="attached")
|
||||
|
||||
Reference in new issue
Block a user