fix(camoufox): Fix a typo in the async solver

This commit is contained in:
Karim shoair
2025-10-12 03:07:18 +03:00
parent 1ff09e5b47
commit 6bfa266c90
+1 -1
View File
@@ -593,7 +593,7 @@ class AsyncStealthySession(StealthySessionMixin, AsyncSession):
await page.wait_for_timeout(500)
outer_box: Any = await (await iframe.frame_element()).bounding_box()
elif not iframe or not outer_box:
if not iframe or not outer_box:
outer_box: Any = await page.locator(box_selector).last.bounding_box()
# Calculate the Captcha coordinates for any viewport