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

RFC: snap on networkIdle #128

Open
cdaringe opened this issue Sep 26, 2024 · 0 comments
Open

RFC: snap on networkIdle #128

cdaringe opened this issue Sep 26, 2024 · 0 comments

Comments

@cdaringe
Copy link

problem

I want to capture, but my readiness conditions are >1, and a bit complex. Current APIs do not serve my needs well.

discussion

pup allows for detecting networkIdle conditions. This is the best sigil that my app is ready to go (perhaps plus a few ms to finish processing any network activity).

Perhaps we could expose more ways to detect readiness? Perhaps the most flexible would be a callback function that allows me to do stuff with the page object, such as invoking .waitForNetworkIdle

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

No branches or pull requests

1 participant