Skip to main content

set_input_files

Interaction

Sets 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

Related Learning Articles

Was this helpful?