TheDocumentation Index
Fetch the complete documentation index at: https://docs.narada.ai/llms.txt
Use this file to discover all available pages before exploring further.
agentic_mouse_action method performs mouse actions at specific screen coordinates captured during a recording. If the action fails at those coordinates (e.g., due to page layout changes), it falls back to the Operator agent using a natural language query.
This method is primarily used by agents generated through Imitation Learning, where click coordinates are captured during recording. For most manual automations, prefer
agentic_selector() which targets elements by CSS selectors.Method Signature
Parameters
The mouse action to perform. Supported actions:
The coordinates and viewport dimensions from when the action was originally recorded.
Natural language instruction for the Operator agent to use if the coordinate-based action fails.
Whether to resize the browser window to match the recorded viewport dimensions before performing the action. This improves accuracy when the page layout is responsive.
Maximum time in seconds to wait for the operation to complete.
Return Value
This method returnsNone and completes when the action has been performed successfully.
Example
When to Use This vs agentic_selector
agentic_mouse_action | agentic_selector | |
|---|---|---|
| Targets by | Screen coordinates | CSS selectors / element attributes |
| Best for | Replaying recorded actions | Programmatic element targeting |
| Resilience | Depends on page layout stability | Depends on element attribute stability |
| Typical use | Generated by Imitation Learning | Written manually or in custom agents |