Files
clawdbot/docs/tools/browser-login.md
2026-01-12 02:09:10 +00:00

1.7 KiB
Raw Blame History

summary, read_when
summary read_when
Manual logins for browser automation + X/Twitter posting
You need to log into sites for browser automation
You want to post updates to X/Twitter

Browser login + X/Twitter posting

When a site requires login, sign in manually in the host browser profile (the clawd browser).

Do not give the model your credentials. Automated logins often trigger antibot defenses and can lock the account.

Which Chrome profile is used?

Clawdbot controls a dedicated Chrome profile (named clawd, orangetinted UI). This is separate from your daily browser profile.

Two easy ways to access it:

  1. Ask the agent to open the browser and then log in yourself.
  2. Open it via CLI:
clawdbot browser start
clawdbot browser open https://x.com

If you have multiple profiles, pass --browser-profile <name> (the default is clawd).

Sandboxing + host browser access

Sandboxed browser sessions are more likely to trigger bot detection. For X/Twitter (and other strict sites), prefer the host browser.

If the agent is sandboxed, the browser tool defaults to the sandbox. To allow host control:

{
  agents: {
    defaults: {
      sandbox: {
        mode: "non-main",
        browser: {
          allowHostControl: true
        }
      }
    }
  }
}

Then target the host browser:

clawdbot browser open https://x.com --browser-profile clawd --target host

Or disable sandboxing for the agent that posts updates.