Clicks an element on the page using element index, CSS selector, or description.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/steerlabs/opensteer/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
Arguments
element: Element index from snapshot (optional if using--element,--selector, or--description)
Options
--session <id>: Session ID to use--element <N>: Target element by index number--selector <css>: Target element by CSS selector--description <text>: Target element by description (uses cached selector or searches)
Examples
Click by Element Index
Click by Element Flag
Click by CSS Selector
Click by Description
Using Environment Variable for Session
Response
Related Commands
dblclick [element]: Double-click an elementrightclick [element]: Right-click an elementhover [element]: Hover over an element
Element Targeting
You can target elements in three ways:- By Index: Use the element number from a
snapshotresult - By Selector: Use a CSS selector to target the element
- By Description: Use a human-readable description (leverages selector caching)
--description option is particularly useful for persistent automation:
- First use saves the selector in the cache under the given description
- Subsequent uses retrieve the cached selector for faster execution
- Namespaced by the
--nameflag or session ID