Herbie Logo

Click Command Playground

Instructions

Use the click command to simulate a click on the button on the right.

Open the Herbie extension and type the following commands in Herbie Tab:

By ID:

click on '#test-button'

By Class:

click on '.test-class'

By XPath:

click on "//button[text()='Click Me']"

This will trigger an alert when you click the button.