playwright_assert_response
Validate and assert the content of an HTTP response initiated in Playwright by specifying the response ID and expected data. Ensure accurate API or web interaction outcomes during browser automation.
Instructions
Wait for and validate a previously initiated HTTP response wait operation.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
id | Yes | Identifier of the HTTP response initially expected using `Playwright_expect_response`. | |
value | No | Data to expect in the body of the HTTP response. If provided, the assertion will fail if this value is not found in the response body. |