fill
InteractionFills 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
- View /scenarios/search-filter/1 · search filter
- View /scenarios/forms/2 · forms
Related Learning Articles
Was this helpful?
Thank you for your feedback!