Skip to main content

fill

Interaction

Fills a text-based input or textarea element.

Parameters

Parameter Type Required Default Description
selector string Yes Element selector using type=value format
value string Yes Value to fill, supports variable substitution
clear_before_fill boolean No true Clear existing content first
iframe string No CSS selector for iframe context
timeout number No 5000 Maximum wait time in milliseconds

Usage Example

RTILA X PROJECT JSON

    {
  "command": "fill",
  "params": {
    "selector": "css=#search-input",
    "value": "wireless headphones",
    "clear_before_fill": true,
    "iframe": "",
    "timeout": 5000
  }
}
  

Related Scenarios

Related Learning Articles

Was this helpful?