waitForTimeout
Pauses script execution for a specified number of milliseconds in a Playwright session, enabling precise timing control for automated web interactions.
Instructions
等待指定毫秒数
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pageId": "<pageId>",
"ms": "<ms>"
},
"name": "waitForTimeout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | Yes | 等待的毫秒数 | |
| pageId | Yes | 页面ID |