fix(async stealth): wait the coroutine of the bounding box
This commit is contained in:
1 parent
33c5633c58
commit
f6f0ed4b37
1 file changed
+1
-1
@@ -352,7 +352,7 @@ class AsyncStealthySession(AsyncSession, StealthySessionMixin):
|
||||
# Double-checking that the iframe is loaded
|
||||
await page.wait_for_timeout(500)
|
||||
|
||||
outer_box: Any = (await iframe.frame_element()).bounding_box()
|
||||
outer_box: Any = await (await iframe.frame_element()).bounding_box()
|
||||
|
||||
if not iframe or not outer_box:
|
||||
if "<title>Just a moment...</title>" not in (await ResponseFactory._get_async_page_content(page)):
|
||||
|
||||
Reference in new issue
Block a user