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.
Method Signature
await opensteer.input(options: InputOptions): Promise<ActionResult>
Types text into an input field or textarea. By default, clears existing content before typing.
Parameters
Configuration for the input actionShow InputOptions properties
The text to type into the input field.
Natural language description of the input element. Used for AI-powered element resolution when element or selector are not provided.
Counter number from snapshot HTML to identify the exact element.
CSS selector to identify the input element.
Whether to clear the existing content before typing. Set to false to append text.
Whether to press Enter after typing the text.
wait
false | ActionWaitOptions
Post-action wait configuration. Set to false to disable waiting, or provide options to customize wait behavior.
Returns
Show ActionResult properties
The action method name (“input”)
The namespace identifier for this session
Whether the element path was successfully persisted for future use
Path to the file where element path is stored
The actual selector used to find the element
Examples
// Type into a field using AI-powered detection
await opensteer.input({
description: 'Email address field',
text: 'user@example.com'
})
// Type using CSS selector
await opensteer.input({
selector: '#username',
text: 'john_doe',
description: 'Username field'
})
// Type and press Enter to submit
await opensteer.input({
description: 'Search box',
text: 'OpenSteer documentation',
pressEnter: true
})
Append Text
// Append to existing content without clearing
await opensteer.input({
description: 'Message input',
text: ' - additional text',
clear: false
})
// Use element counter from snapshot
await opensteer.input({
element: 15,
description: 'Password field',
text: 'secure-password-123'
})
// Fill multiple form fields
await opensteer.input({
description: 'First name',
text: 'John'
})
await opensteer.input({
description: 'Last name',
text: 'Doe'
})
await opensteer.input({
description: 'Email',
text: 'john.doe@example.com',
pressEnter: true
})