playwright_expect_response
Initiate a wait for a specific HTTP response in browser automation, identified by a unique ID and URL pattern. Use this tool to prepare for later response validation with Playwright_assert_response.
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"
}