playwright_expect_response
Initiate a wait operation for an HTTP response matching a specified URL pattern without completing the wait. Use this tool to prepare response assertions in browser automation workflows.
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
Name | Required | Description | Default |
---|---|---|---|
id | Yes | Unique & arbitrary identifier to be used for retrieving this response later with `Playwright_assert_response`. | |
url | Yes | URL 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"
}