set_input_files
InteractionSets files on an input[type=file] element.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
selector | string | Yes | — | Element selector using type=value format |
paths | string | Yes | — | File path or comma-separated paths |
iframe | string | No | | CSS selector for iframe context |
timeout | number | No | 5000 | Maximum wait time in milliseconds |
Usage Example
RTILA X PROJECT JSON
{
"command": "set_input_files",
"params": {
"selector": "css=#csv-upload",
"paths": "C:\Users\demo\report.csv",
"iframe": "",
"timeout": 5000
}
}
Related Scenarios
- View /scenarios/file-download/1 · file download
Related Learning Articles
Was this helpful?
Thank you for your feedback!