wait_for_selector
Waits for a CSS selector to appear in the DOM before proceeding, ensuring web elements are ready for interaction in browser automation.
Instructions
지정된 셀렉터가 DOM에 나타날 때까지 대기합니다.
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": {
"tabId": "<tabId>",
"selector": "<selector>"
},
"name": "wait_for_selector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | 대상 탭 ID | |
| selector | Yes | CSS 셀렉터 | |
| timeout | No | 타임아웃 (ms, 기본: 30000) |