Skip to content
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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ankur22
Copy link
Contributor

@ankur22 ankur22 commented Sep 19, 2024

What?

This new page details recommendation on sleep and the various wait* functions available to the browser module. The main reason for doing this is to guide users away from working with sleep and instead work with the various wait* APIs, specifically replacing sleep with page.waitForTimeout.

Checklist

  • I have used a meaningful title for the PR.
  • I have described the changes I've made in the "What?" section above.
  • I have performed a self-review of my changes.
  • I have run the npm start command locally and verified that the changes look good.
  • I have made my changes in the docs/sources/next folder of the documentation.

Related PR(s)/Issue(s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant