Skip to main content

Lexmount Cloud Browser

Lexmount provides cloud-based browser instances for running browser automation tasks.

Prerequisites

  1. Lexmount API Key
  2. Lexmount Project ID (contact administrator to configure)

Configuration

Add to .env:
LEXMOUNT_API_KEY=your_api_key
LEXMOUNT_PROJECT_ID=your_project_id

Login Session Management

Step 1: Create Browser Session

# Create login session for Taobao
uv run scripts/manage_login_session.py create --mode normal --website taobao

# Create login session for JD
uv run scripts/manage_login_session.py create --mode normal --website jd
Supported website shortcuts:
  • taobao, jd, xiaohongshu, meituan, dianping
  • office, baidu_pan, bilibili, zhihu, weibo

Step 2: Manual Login

  1. After running the command, note the session info
  2. Go to Lexmount admin console → Sessions
  3. Find the session
  4. Click View to open the browser
  5. Navigate to the website and log in manually
  6. Keep the page open after login

Step 3: Verify (Optional)

You can create another session to verify if the login state persists.

Common Commands

# List all sessions
uv run scripts/manage_login_session.py list

# Close a session
uv run scripts/manage_login_session.py close --session-id <session_id>

Running Tasks with Login

Copy agents/browser-use/config.yaml.example to agents/browser-use/config.yaml, then configure the agent to use Normal mode:
# agents/browser-use/config.yaml
BROWSER_ID: lexmount
LEXMOUNT_BROWSER_MODE: normal
Run authenticated tasks:
uv run scripts/run.py \
  --agent browser-use \
  --benchmark LexBench-Browser \
  --split high_freq_login \
  --mode first_n --count 5