Playwright MCP Server

by pvinis
MIT License
10
1

playwright_expect_response

Initiate waiting for a specific HTTP response in Playwright by specifying a URL pattern and unique ID. Use this tool to prepare for response validation in automated testing or web interactions.

Instructions

Ask Playwright to start waiting for a HTTP response. This tool initiates the wait operation but does not wait for its completion.

Input Schema

NameRequiredDescriptionDefault
idYesUnique & arbitrary identifier to be used for retrieving this response later with `Playwright_assert_response`.
urlYesURL pattern to match in the response.

Input Schema (JSON Schema)

{ "properties": { "id": { "description": "Unique & arbitrary identifier to be used for retrieving this response later with `Playwright_assert_response`.", "type": "string" }, "url": { "description": "URL pattern to match in the response.", "type": "string" } }, "required": [ "id", "url" ], "type": "object" }
ID: iiafoz7ogl