Syntax
Arguments
url: The URL to navigate to
Options
--session <id>: Session ID to use (overridesOPENSTEER_SESSION)--name <namespace>: Selector cache namespace (overridesOPENSTEER_NAME)--headless: Launch browser in headless mode--connect-url <url>: Connect to an existing browser instance--channel <browser>: Use specific browser (chrome,chrome-beta,msedge)--profile-dir <path>: Browser profile directory for persistent login sessions
Examples
Basic Usage
With Session ID
With Named Selector Cache
Headless Mode
Connect to Running Browser
With Browser Profile
Using Environment Variables
Response
Session Behavior
- If no server is running for the session,
openwill start a new daemon - The daemon runs in the background and persists until
opensteer closeis called - Multiple sessions can run concurrently with different
--sessionIDs - In interactive terminals, a default session is created if none is specified
- In non-interactive mode, you must set
OPENSTEER_SESSIONorOPENSTEER_CLIENT_ID
Selector Namespace
The--name flag sets the selector cache namespace:
- Used for persistent element selectors across commands
- Defaults to the session ID if not specified
- Can be overridden with
OPENSTEER_NAMEenvironment variable - Allows multiple namespaces per session for different workflows