waitForTimeout
Pauses script execution for a specified number of milliseconds in a Playwright session, enabling precise timing control for automated web interactions.
Instructions
等待指定毫秒数
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ms | Yes | 等待的毫秒数 | |
pageId | Yes | 页面ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"ms": {
"description": "等待的毫秒数",
"type": "number"
},
"pageId": {
"description": "页面ID",
"type": "string"
}
},
"required": [
"pageId",
"ms"
],
"type": "object"
}