dir-sim-click
Action
Simulates a click event on a DOM element for testing interactions
Syntax
dir-sim-click "Press Me"
click the first element containing this text
dir-sim-click .button 1
click the Nth element of this action type (1-indexed)
dir-sim-click query "#submit-btn"
click the first element matching CSS selector
dir-sim-click query ".item" 2
click the Nth element matching CSS selector (1-indexed)