Playwright MCP Server

playwright_assert_response

Validate an HTTP response by checking its body against expected data, ensuring accuracy after initiating a wait operation with the corresponding identifier.

Instructions

Wait for and validate a previously initiated HTTP response wait operation.

Input Schema

NameRequiredDescriptionDefault
idYesIdentifier of the HTTP response initially expected using `Playwright_expect_response`.
valueNoData 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" }
ID: iiafoz7ogl