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)

Developer Reference
Set: unittest
Version: 0.0.0-13
Encoding: T_OP_S8
Actcode: 2364492214
Set ID: 112