page_wait_for
Pauses execution until either a specified duration passes or a given element selector appears on the page, preventing race conditions in automation.
Instructions
等待条件满足:数字=等待毫秒数,字符串=等待元素选择器出现
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| timeout | No | 最长等待时间(ms),默认 30000,超时抛错避免永久挂起 | |
| condition | Yes | 等待条件:数字为等待毫秒数;字符串为选择器,元素出现即结束等待 |