fix(camoufox): Fix a typo in the async solver
This commit is contained in:
1 parent
1ff09e5b47
commit
6bfa266c90
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user