AI agent instructions
AI agent instructions
goto: Navigate to a URLgo_back: Go back to previous pagego_forward: Go forward to next pagereload: Reload current pagescroll_up/scroll_down: Scroll the pagewait: Wait for specified millisecondspress_key: Press keyboard keys
click: Click on an elementfill: Fill input fields with textupload_file: upload files to file inputs- etc.
observe() call, and selectors/field names should
be validated against the actual page before they are used in automation.
Using Playwright Selectors:
Instead of element IDs, you can use Playwright selectors to target elements:
xpath=/html/body/div[3]/div/button[1]) or CSS selectors (e.g. css=button.submit).
Note that we strongly advice to use selectors over IDs for workflows automation because IDs are dependent on the page structure and can change over time.
Parameters
UnionType[BaseAction, None]
default:"None"
UnionType[bool, None]
default:"None"
If true, will raise if we could not execute the action
Any
required
Returns
ExecutionResult: Result containing execution details, any errors, and the updated session state.
Raises
Exception: If raise_on_failure is True and the action execution fails.