Skip to content

Implement page.waitForResponse #4339

@ankur22

Description

@ankur22

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions