playwright_assert_response
Validate a previously initiated HTTP response by checking its body content using a specified identifier. Ensures the expected data matches the response for accurate web interaction testing.
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. |