Overview
The click action triggers an interaction when the agent presses on a specific element. Spur supports standard left clicks, double clicks, and right clicks.Click Types
Single Click
Standard left click for buttons, links, checkboxes, and other interactive elements.
Double Click
Double left click for selecting text, opening items, or triggering edit modes.
Right Click
Right click to open context menus or access additional options on an element.
Common Use Cases




Best Practices
- Be specific in your element descriptions so the agent can reliably identify the correct target
- Include surrounding context when targeting dynamic elements
- Consider using a Wait action before clicking on content that loads dynamically
- Verify the click result when the interaction is critical to the test flow
Troubleshooting
Element Not Found
Element Not Found
If the agent cannot find the element:
- Check if the element is visible in the viewport
- Ensure the description matches what is displayed on screen
- Add more context such as nearby text or section names
- Use a Wait action if the element loads dynamically
Wrong Element Clicked
Wrong Element Clicked
If the agent clicks the wrong element:
- Add more specific context to distinguish the target
- Include nearby text or landmarks
- Specify the element type explicitly (e.g. “Click the Submit button” instead of “Click Submit”)
