Skip to content

docs: one agent guide for logged-in browser work, from login handoff to return #373

Open

Description

@ElbertePlinio

Problem

The pieces for logged-in browser work shipped in separate PRs: named profiles (#339), the native viewer (#340), and takeover with request_takeover and takeover_wait (#341). The README describes each one on its own. An agent has no single guide for the whole flow, from the first login to work that continues after the human returns control.

Acceptance criteria

  • One guide in docs/ walks an agent through logged-in browser work: create a browser session with --profile, open or ask for the viewer, call request_takeover for a login or a secret, wait for the return, and continue with the fresh screenshot.
  • It covers the cases an agent meets: viewer_not_open with the CLI command to give the user, timeout, cancellation, a human who takes control without a request, and a profile already in use.
  • It states the rules: never put a secret in the message, and screenshots and waits fail with busy during control.
  • The README links to it, and the MCP tool descriptions stay in sync with it.

Checklist

  • Guide in docs/
  • README link
  • Check the examples against the CLI and MCP tools

Part of #338.

Activity

  1. ElbertePlinio commented on Oct 31, 2026

    @ElbertePlinio
    MemberAuthor

    Input for this guide from #380 (PR to follow). On a browser session, every takeover now reopens the profile in Chrome without DevTools, because any remote debugging makes Google reject sign-in. When control returns, Chrome reopens under DevTools with its tabs, request_takeover and takeover_wait return browserRelaunched: true, and the agent should list pages again. The README takeover section has the details and the desktop-session fallback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions