scroll_until_visible
Scroll down or up to find an element containing specified text. Returns the element when found or an error after a set number of scrolls.
Instructions
Scroll vers le bas (ou la direction choisie) jusqu'à trouver un élément contenant le texte donné. Retourne l'élément trouvé ou une erreur après max_scrolls.
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": {
"text": "<text>"
},
"name": "scroll_until_visible"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Texte de l'élément à trouver | |
| direction | No | Direction du scroll (défaut: down) | down |
| max_scrolls | No | Nombre max de scrolls (défaut: 10, max: 100) |