Skip to main content

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.

Inputs text into a form field or editable element on the page.

Syntax

opensteer input [element] <text> [options]
opensteer input <text> [options]

Arguments

  • element: Element index from snapshot (optional)
  • text: Text to input (required)

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
  • --text <text>: Alternative way to specify input text

Examples

Input Text by Element Index

# First get a snapshot to see element indices
opensteer snapshot --session agent-a

# Input text into element at index 2
opensteer input 2 "hello@example.com" --session agent-a

Input Text with —element Flag

opensteer input "hello@example.com" --element 2 --session agent-a

Input Text by CSS Selector

opensteer input "username123" --selector "input#username" --session agent-a

Input Text by Description

opensteer input "password123" --description "password field" --session agent-a

Using —text Flag

opensteer input --element 2 --text "hello@example.com" --session agent-a

Multi-line Input

opensteer input 5 "Line 1
Line 2
Line 3" --session agent-a

Response

{
  "ok": true
}

Argument Parsing

The input command accepts arguments in multiple formats:
# Element first, then text
opensteer input 12 "text"

# Text first, then element
opensteer input "text" --element 12

# Text only (with --selector or --description)
opensteer input "text" --selector "input#email"
  • type <text>: Type text into currently focused element
  • press <key>: Press a keyboard key

Element Targeting

Like other element commands, you can target elements in three ways:
  1. By Index: Use the element number from a snapshot result
  2. By Selector: Use a CSS selector to target the element
  3. By Description: Use a human-readable description (leverages selector caching)

Build docs developers (and LLMs) love