Create best practice for sleep + wait #1719
Labels
Area: browser
The browser module
Area: Cloud Content
Docs issues about k6 Cloud
Area: OSS Content
Improvements or additions to community/oss documentation
Priority: High
type/docs
What
Currently there are no best practice documentation when it comes to working with the browser module. Within the community and customer base, there's usually some confusion as to how to work with the APIs, which APIs to use, how to work with selectors and how to read the test results.
How
The first step is to start on a best practice doc, and the first topic should be on working with page.waitForTimeout instead of sleep. It should explain:
page.waitForTimeout
is better thansleep
;My tasks
The text was updated successfully, but these errors were encountered: