Inputs

☐ Prompt / Description (Required)

A clear and concise instruction describing what this step should do. This helps the AI debug and re-find the element if needed.

Good Example: "Hover over the profile icon to reveal the dropdown menu."

Bad Example: "Move the mouse around until something appears."

Why it’s bad? Too vague, lacks specificity about which element to hover over.

☐ Element Selector (Required)

Define the element to be hovered over 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: Revealing a dropdown menu

✅ Good Prompt:

“Hover over the profile icon to reveal the dropdown menu.”

✅ Good Element Selectors:

CSS Selector: .profile-icon

XPath: //div[@class='profile-icon']

Notes

  • The Prompt / Description is required to help AI debug and adjust the hover action if needed.
  • Ensure the selector uniquely identifies the element to avoid unintended interactions.
  • Some hover effects might require additional time before the UI updates—consider adding a wait time if necessary.