dir-sim-input
Action
Simulates entering text into an input field for testing form interactions
Syntax
dir-sim-input "hello world"
enter text into the currently focused input element
dir-sim-input "hello" into "#username"
enter text into element matching CSS selector
dir-sim-input "hello" into .enter-text 1
enter text into Nth element of action type (1-indexed)
dir-sim-input clear "#username"
clear the value of an input field by CSS selector
dir-sim-input append "more text" into "#field"
append text to existing input value