playwright_assert_response
Validate a previously initiated HTTP response by matching its identifier and optional body content, ensuring accuracy in automated web interactions.
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. |
Input Schema (JSON Schema)
{
"properties": {
"id": {
"description": "Identifier of the HTTP response initially expected using `Playwright_expect_response`.",
"type": "string"
},
"value": {
"description": "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.",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}