Inputs

☐ Prompt / Description (Required)

A clear and concise instruction that describes what this step should do. This helps the AI debug and re-find the element if the webpage structure changes.

Good Example: "Click the 'Learn More' link to navigate to the details page."

Bad Example: "Find and click some kind of link that takes you somewhere useful."

Why it’s bad? Too vague, doesn’t specify which link to interact with.

☐ Element Selector (Required)

Define the hyperlink element to be clicked using one of the following methods:

CSS Selector

Use standard CSS selectors to identify the element.

XPath

Use an XPath expression to precisely locate the element.

Usage Example

Scenario: Clicking a 'Learn More' link

✅ Good Prompt:

“Click the ‘Learn More’ link to navigate to the details page.”

✅ Good Element Selectors:

CSS Selector: a.learn-more

XPath: //a[text()='Learn More']

Notes

  • The Prompt / Description is required to help AI debug and adjust the selector if needed.
  • Ensure the selector uniquely identifies the link to avoid unintended navigation.
  • Some links trigger JavaScript events instead of direct navigation—ensure the action works as expected before deploying.