wait_selector
Wait for a specified element to reach a given state, such as visible or hidden, with a configurable timeout to synchronize browser automation steps.
Instructions
wait_selector(".modal", "visible", 15) — 等待元素状态
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sel | Yes | ||
| tab | No | ||
| state | No | ||
| timeout | No |