You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -302,7 +302,7 @@ asyncio.run(main())
302
302
303
303
### `time.sleep()` leads to outdated state
304
304
305
-
We internally rely on asynchronous operations. When using `time.sleep(5)` they can't process internally and by that e.g. the internal storage for pages can't get updated. To fix this behavior you should use `page.wait_for_timeout(5000)` instead if you are using the synchronous variant. For the asynchronous variant you can also use `await asyncio.sleep(5)`.
305
+
We internally rely on asynchronous operations. When using `time.sleep(5)` they can't be processed internally and by that e.g. the internal storage for pages can't get updated. To fix this behaviour you should use `page.wait_for_timeout(5000)` instead if you are using the synchronous api. For the asynchronous api you can use `await asyncio.sleep(5)`.
0 commit comments