Skip to content

Commit 18eb8fc

Browse files
Update README.md
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
1 parent 516679e commit 18eb8fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ asyncio.run(main())
302302

303303
### `time.sleep()` leads to outdated state
304304

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)`.
306306

307307
## Documentation
308308

0 commit comments

Comments
 (0)