Available Actions

Core actions that will be available in Aesoperator in version 2.0.0:

Browser Actions

# Navigate to URL
navigate(url: str) -> None

# Click element
click(selector: str, wait_for_navigation: bool = False) -> None

# Type text
type(selector: str, text: str) -> None

# Get text content
get_text(selector: str) -> str

# Get attribute value
get_attribute(selector: str, attribute: str) -> str

# Take screenshot
screenshot(selector: str = None, full_page: bool = False) -> bytes

# Get page HTML
get_html() -> str

# Wait for element
wait_for_element(selector: str, timeout_ms: int = 5000) -> bool

# Check if element exists
element_exists(selector: str) -> bool

# Get all elements matching selector
get_elements(selector: str) -> List[Element]

# Scroll page
scroll(x: int = 0, y: int = 0) -> None
scroll_to_bottom() -> None

Data Extraction

LLM Actions

Memory Actions

Simple CRUD operations to change what context is available

File Actions

Writes to local file system

System Actions

Directly interacts with the system and its environment it's running on. For example:

On a Debian system, you can install packages or run commands.

Error Handling

All actions can throw these exceptions:

  • ActionError: Base error class

  • TimeoutError: Action timed out

  • ValidationError: Invalid parameters

  • AuthError: Authentication failed

  • RateLimitError: Rate limit exceeded

  • CaptchaError: CAPTCHA challenge detected

Usage Limits

  • Max concurrent actions: 5

  • Max action duration: 30 seconds

  • Rate limits vary by action type

  • Memory storage: 100MB per task

  • File size: 50MB max

  • API rate limits: Varies by endpoint

Last updated