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

Implement page.waitForResponse #4339

Open
ankur22 opened this issue Jan 11, 2024 · 0 comments
Open

Implement page.waitForResponse #4339

ankur22 opened this issue Jan 11, 2024 · 0 comments

Comments

@ankur22
Copy link
Contributor

ankur22 commented Jan 11, 2024

Feature Description

This is similar to how page.on('response') works (check #4234 for details). What this adds is the ability to wait for the response to be received before carrying on with the test. This helps ensure that the response must have been received before carrying on with the request, as well as being able to dynamically/programmatically being able to perform fine grained checks on the responses of dependencies.

Suggested Solution (optional)

https://playwright.dev/docs/api/class-page#page-wait-for-response

Already existing or connected issues / PRs (optional)

#4234

@inancgumus inancgumus added the browser: playwright related to Playwright compatibility label Jan 30, 2025
@inancgumus inancgumus transferred this issue from grafana/xk6-browser Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants