-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a page on sleep and wait for browser module #1730
Conversation
b6e2060
to
6139ac2
Compare
6139ac2
to
6c5e6e1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome 👍
docs/sources/next/using-k6-browser/recommended-practices/_index.md
Outdated
Show resolved
Hide resolved
docs/sources/next/using-k6-browser/recommended-practices/sleep-and-wait.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM 👍 Left just one minor suggestion
docs/sources/next/using-k6-browser/recommended-practices/_index.md
Outdated
Show resolved
Hide resolved
7dd3265
to
0f150a3
Compare
@heitortsergent I'm merging this in, but if you have any suggestions I'll open a new PR to make the changes. |
0f150a3
to
e3e45b5
Compare
What?
This new page details recommendation on
sleep
and the variouswait*
functions available to the browser module. The main reason for doing this is to guide users away from working withsleep
and instead work with the variouswait*
APIs, specifically replacingsleep
withpage.waitForTimeout
.Checklist
npm start
command locally and verified that the changes look good.docs/sources/next
folder of the documentation.Related PR(s)/Issue(s)
Updates: #1719