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

Developer Reference
Set: unittest
Version: 0.0.0-7
Encoding: T_OP_S8
Actcode: 1105203481
Set ID: 112