Download By Click
download_by_clickClicks an element to trigger a download, waits for it to finish, and saves the file to the artifact directory.
Instructions
Click an element, wait for a download, and save it into the artifact directory.
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": {
"selector": "<selector>"
},
"name": "download_by_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page id. Defaults to the active page. | |
| selector | Yes | ||
| timeoutMs | No |