LLMs Technical Reviews

How are browser sessions, profiles, auth and anti-bot handled?

Local vs remote/cloud browsers; persistent profiles and cookies; stealth; proxies; CAPTCHA handling.

Verdict

Skyvern has the most session features in self-hosted code: persistent sessions, saved profiles, cookie restore and per-run proxy location. Stealth and CAPTCHA solving mostly live in paid clouds. To work inside your own logged-in browser, browser-harness, dsh-browser and Ulka are the most direct.

Library plus a vendor cloud. browser-use configures user_data_dir, storage_state, proxies and domain lists in BrowserProfile; use_cloud=True adds cloud proxies, fingerprinting and CAPTCHA events. Stagehand launches local Chrome or a Browserbase session with stealth and CAPTCHA solving. HyperAgent runs local Chrome headed or a Hyperbrowser session. Workflow Use adds nothing beyond browser-use’s Browser.

Self-hosted or fresh browsers. Skyvern’s RealBrowserManager adds persistent sessions, browser_profile_id and ProxyLocation, but its CAPTCHA hooks do nothing in open source. jev-browser starts a fresh headless Chromium per run, seeds cookies by reference, binds passwords to one origin, and only detects Cloudflare walls. Cua launches driver-owned profiles and needs an explicit grant to attach to an existing one.

Your real browser. browser-harness finds your running Chrome through DevToolsActivePort, and Jev Ultrafast opens a background tab through that daemon. dsh-browser runs as an extension in your profile with origin-scoped approvals, though its token-free loopback path accepts any chrome-extension:// origin. Ulka attaches chrome.debugger to your tabs and navigates only to URLs it has observed. None of these has proxy, stealth or CAPTCHA code.

Desktop sessions. agent-desktop keeps refs and traces, not browser state. typesafe-computer-use and jev-use drive your real Mac and reach browsers through the OS.

Outliers. mobile-jev drives a Mobilerun cloud phone that keeps its own accounts between runs. openjev-sglang does not apply; its Modal deployment is unauthenticated unless OPENJEV_API_KEY is set.

Pick: Skyvern for self-hosted profiles, persistent sessions and proxies. Pick: browser-use with its cloud, or Stagehand with Browserbase, when stealth and CAPTCHA solving are needed. Pick: browser-harness, dsh-browser or Ulka to work inside your existing logged-in browser.

Per-project answers

browser-use/browser-use

answered

BrowserSession model. BrowserSession (browser_use/browser/session.py:134) is the central session manager, owning CDP WebSocket connections, target/session maps, and an event bus coordinating 12+ watchdogs. Configuration is stored in a BrowserProfile (browser_use/browser/profile.py) which controls browser launch args, proxy, extensions, display config, domain filtering, etc. The session supports both Pydantic model construction and direct parameter overloading from a comprehensible API surface.

Local vs Cloud browsers. Two modes: local launches a Chrome/Chromium process via CDP, providing temporary or persistent profiles, and cloud creates remote browser instances through cloud.browser-use.com API (browser_use/browser/cloud/cloud.py). Cloud mode authenticates via BROWSER_USE_API_KEY env var or auth config file, calls the cloud API's /v{2,3,4}/browsers endpoint to get a CDP URL, then connects normally. Proxy country codes are configurable for geo-targeting. The agent auto-detects which mode via BrowserProfile.use_cloud or explicit cloud_browser_params.

Persistent profiles and cookies. BrowserProfile supports user_data_dir for persistent profiles, and storage_state for saved cookies/session data from Playwright's storage format. The StorageStateWatchdog saves/restores cookies and local storage on browser connect/disconnect. Cookies are loaded from a file specified in BrowserProfile.storage_state or from a user-data-dir profile. The DownloadStorageStateEvent is dispatched when saving state.

Stealth and anti-detection. Chrome is launched with automation-control flags disabled ('--disable-blink-features=AutomationControlled', browser_use/browser/profile.py:201). Multiple fingerprint-reducing Chrome components are disabled (CHROME_DISABLED_COMPONENTS list, browser_use/browser/profile.py:45-93), including AutomationControlled, HeavyAdPrivacyMitigations, CalculateNativeWinOcclusion, OverscrollHistoryNavigation. Cloud browsers add proxy rotation and stealth fingerprinting on the server side.

Proxies. ProxySettings (in BrowserProfile) supports HTTP/SOCKS5 proxies with authentication. Cloud browsers offer country-code proxy selection (ProxyCountryCode). The SecurityWatchdog enforces allowed_domains/prohibited_domains lists, intercepting navigation attempts to blocked domains at the CDP level.

Watchdog architecture. BrowserSession uses an event-bus pattern with specialized watchdogs (browser_use/browser/watchdogs/): LocalBrowserWatchdog (Chrome process launch), DownloadsWatchdog (PDF auto-download with filename sanitization), PopupsWatchdog (JS alerts/dialogs), SecurityWatchdog (domain filtering, IP blocking, sensitive data), DOMWatchdog (DOM snapshot + element highlighting), ScreenshotWatchdog (screenshot capture + optional resize), CaptchaWatchdog (proxy CAPTCHA solver events), AboutBlankWatchdog (empty page redirects), CrashWatchdog (browser crash detection), StorageStateWatchdog (cookie/profile persistence), PermissionsWatchdog (browser permission management), RecordingWatchdog/HARRecordingWatchdog. Each watchdog attaches handlers to the session's event bus and is started/stopped with the browser lifecycle.

CDP connection management. BrowserSession.connect() establishes a WebSocket to the CDP URL, initializes a CDPClient, creates a SessionManager for target/session tracking, enables page monitoring (lifecycle events, accessibility), and dispatches BrowserConnectedEvent. WebSocket reconnection handles transient disconnects with exponential backoff (3 attempts, 1/2/4s delays, 54s total timeout). Connections carry an intentional-stopped flag so cleanup handlers don't cascade.

CAPTCHA. The CaptchaWatchdog listens for CDP BrowserUse.captchaSolverStarted/Finished events from the browser proxy (e.g., the cloud browser's integrated solver or a third-party solving service). It exposes wait_if_captcha_solving() which the agent loop calls. Cloud browsers' proxy-based CAPTCHA solver is claimed to reduce CAPTCHA encounters via stealth fingerprinting and IP rotation.

Editor's note. Correction: CrashWatchdog is commented out in session.py (~L1700/L1715) and is not active.

trycua/cua

answered

Session lifecycle. Cua Driver has a full session lifecycle via MCP tools: start_session, list_sessions, get_session, end_session, and escalate_session. Sessions own agent cursor state, per-run configuration, recording, cleanup, and telemetry. Each session has a public label (optional, for multi-call coordination) and an implicit transport-bound id. The default idle TTL is 5 minutes (libs/cua-driver/rust/crates/cua-driver-core/src/session.rs:30). End reasons include explicit, idle timeout, process exit, and unknown (libs/cua-driver/rust/crates/cua-driver-core/src/session.rs:67-73).

Browser sessions (CDP). The BrowserEngine manages pooled WebSocket connections to CDP endpoints. Browsers are classified by platform adapter into engine families (Chromium/Gecko/WebKit) and products (Chrome, Edge, Brave, etc.). Mutation requires exact bindings (bounds-correlated, optionally title-tie-broken) not heuristic ones (libs/cua-driver/rust/crates/cua-driver-core/src/browser/mod.rs:1-37). Browser preparation (browser_prepare) supports isolated_new (ephemeral) and isolated_named (persistent) profile modes with consent-based granting (libs/cua-driver/rust/crates/cua-driver-core/src/browser/prepare.rs:30-60). prepare_strategy can be OpenExisting, CreateNew, or CloseNewAfterAction.

Local vs remote/cloud. The SDK supports multiple topologies: embedded (in-process daemon), local daemon (Unix socket at ~/.cua/cua.sock), and remote (loopback + token). Sandboxes can be local (VMs via QEMU, Tart, Lume) or cloud (Fleet, AWS, Google Cloud, Modal) (libs/cua/crates/cua-sdk/src/lib.rs:5-28). Cua Spaces app provides the remote desktop UI with Teleport (moving signed-in apps into sandboxes via Cua Keyvault).

Profiles and auth. The Cua Keyvault (cua-keyvault crate) stores app sessions encrypted on the Mac. Teleport moves a signed-in app (Chrome, Slack) into a Space still signed in. The cua-auth crate handles sign-in (browser PKCE or device code). Browser profiles can be isolated (ephemeral profiles flagged with .cua-driver-owned-profile.json) or reused (isolated_named with a stable name) (libs/cua-driver/rust/crates/cua-driver-core/src/browser/prepare.rs:30-60).

Anti-bot / stealth / CAPTCHA. The repository does not implement anti-bot countermeasures or CAPTCHA handling. There is no stealth/heuristics module. The platform adapters classify browsers but that classification is used for capability negotiation (e.g. "does this pid support CDP") rather than concealing automation. The driver-owned browser profiles are explicitly marked as automation profiles. The codebase documents that CAPTCHAs and permission popups may be visible ("browser chrome may be incomplete in window scope") and routes through recovery instructions suggesting desktop-level capture for prompts the window cannot capture (libs/cua-driver/rust/crates/cua-driver-core/src/window_inspection.rs:47-56).

browserbase/stagehand

answered

Local browser (localBrowser.ts): The SDK launches a Chrome/Chromium process with CDP remote debugging enabled (--remote-debugging-port). It auto-detects Chrome on the system (macOS: canonical paths; Windows: Program Files; Linux: PATH). Configurable via LocalBrowserLaunchOptions: headless, viewport, proxy, locale, userDataDir (persistent profile), args (extra flags). Default flags disable background networking, component updates, sync, hang monitor, and prompt-on-repost. A data directory is created per-session (temp dir) and cleaned up on close unless preserveUserDataDir: true. The sandbox is disabled on Linux root or CI.

Browserbase cloud (browserbaseSession.ts): Sessions are created via @browserbasehq/sdk with extensive configuration:

  • Stealth/fingerprint: advancedStealth, fingerprint (browser/device/OS/locale/screen simulation)
  • Proxies: Browserbase managed proxies (BrowserbaseProxyConfigSchema with geolocation) or external proxies (ExternalProxyConfigSchema with server/credentials)
  • Regions: us-west-2, us-east-1, eu-central-1, ap-southeast-1
  • CAPTCHA handling: solveCaptchas, captchaInputSelector, captchaImageSelector
  • Persistence: context.id + context.persist for persistent browser contexts across sessions
  • Recording: recordSession, logSession
  • Verification: verified sessions for high-trust sites
  • BlockAds, os, viewport

Extension provisioning (browserbaseExtension.ts): The Stagehand extension (packed as a .zip archive) is uploaded to Browserbase and attached to the session. Uploads retry up to 4 times with backoff.

Cookies and headers: BrowserContext in the understudy (context.ts) supports addCookies, clearCookies, setExtraHTTPHeaders, and setDomainPolicy (for domain-specific fetch interception). Cookies are manipulated via the CDP Web.ARC or native cookie stores.

Connection modes: The client can either create a new session (with an optionally provisioned extension) or reconnect to an existing session by session ID (connectSession). The CDP URL (webSocketDebuggerUrl) is used to establish the WebSocket transport.

Lifecycle: The Stagehand.create() to stagehand.close() lifecycle ensures browser claims are released and sessions are invalidated on ambiguous init failures (via claimStagehandBrowser/releaseStagehandBrowser/invalidateStagehandBrowser in factories.ts).

Skyvern-AI/skyvern

answered

Skyvern manages browser sessions through a layered architecture built on Playwright, supporting both local ephemeral browsers and remote persistent sessions.

Local vs remote/cloud browsers. The BrowserManager protocol (skyvern/webeye/browser_manager.py:23-100) defines get_or_create_for_task/get_or_create_for_workflow_run to acquire a browser. The default implementation creates Playwright browser instances locally. Cloud deployments use RealBrowserManager (real_browser_manager.py) backed by CDP-connected remote browsers. The BrowserAcquisitionSample module records the acquisition mode (create vs attach vs reuse). The engine selection determines whether to use local Playwright, a remote CDP endpoint, or a cloud persistent session.

Persistent browser sessions. The PersistentSessionsManager protocol (persistent_sessions_manager.py:54-80) manages a pool of pre-warmed, reusable browser sessions. These are long-lived browser instances (launched headlessly on remote machines) that can be leased by workflows and tasks. The protocol supports session watching, a reaper for idle/expired sessions, eviction/reconnection, and startup timeout configuration. Sessions are tracked in the database through PersistentBrowserSession records.

Profiles and cookies. The browser factory (browser_factory.py) orchestrates profile-based browsing. At startup, it can:

  • Apply a browser_profile_id (pre-saved profile) — a snapshot including cookies and local storage
  • Restore session cookies from a stored directory (browser_factory.py:826-827)
  • Restore "banked" cookies for verified-login healing (restore_banked_cookies, browser_factory.py:831-832)
  • Restore sign-in cookies for OAuth recovery
  • Snapshot seed profile state at start (_capture_seed_profile_state, browser_factory.py:277-291) to track cookie changes for freshness guards

Stealth and anti-bot. The project includes anti-detection measures: it monitors CDP connections, detects challenge vendors via URL signatures (challenge_signature.py:12-14: captcha, turnstile, cloudflare, arkoselabs, funcaptcha, datadome, perimeterx), and runs a captcha-solving ladder (captcha_solver.py) that probes for DOM checkbox challenges, reCAPTCHA anchor frames, solver extensions, and token-based routes. The DialogHandler auto-accepts browser dialogs. CDP download interception mediates network requests and proxy auth challenges.

Proxies. Proxy location is a first-class concept (ProxyLocation, ProxyLocationInput). The browser factory configures Playwright's proxy settings and sets timezone info based on the proxy location. CDP interceptors pass proxy credentials for authenticated proxies.

CAPTCHA handling. The captcha solver (utils/captcha_solver.py) provides a multi-arm solving ladder: DOM checkbox click, reCAPTCHA anchor iframe click, solver extension, and reCAPTCHA token route. The vendor challenge signature (CHALLENGE_VENDOR_SIGNATURE) detects cloudflare Turnstile, DataDome, PerimeterX, reCAPTCHA, hCaptcha, and FUNCAPTCHA.

Editor's note. Correction: RealBrowserManager is the browser manager the open-source app wires in (forge_app.py), not a cloud-only implementation. It launches local chromium-headless/headful browsers or attaches over CDP (cdp-connect).

browser-use/jev-ultrafast

answered

Browser sessions connect to a local Chrome instance through the Browser Harness daemon (browser.py:21-22). The Browser constructor calls ensure_daemon() to start the harness, then creates a new CDP target via Target.createTarget (opening an about:blank page) and attaches to it via Target.attachToTarget with flatten mode (browser.py:22-24). This gives a single CDP session per Agent instance — there are no per-step subprocesses or new browser instances.

The viewport is set to 1120×780 with deviceScaleFactor: 1 and mobile: false (browser.py:25). Focus emulation is enabled so the owned background tab keeps rendering animations and menus without switching Chrome's visible tab (browser.py:27). The initial URL is navigated with a 15-second deadline polled on readyState (browser.py:28-33).

There are no persistent profile or cookie management features in this codebase. The session inherits whatever Chrome profile the Browser Harness connects to — typically the user's default Chrome profile (via remote debugging; README:66-67). Session IDs (targetId, sessionId) are saved to disk by the example script (examples/flights.py:57-58) but not reused for resumption. On close, Target.closeTarget is called (browser.py:110-111).

No stealth, proxy, or CAPTCHA handling is implemented. The README explicitly acknowledges limits: shadow roots, frames, canvas, uploads, pop-up tabs, and nested scrolling are not handled (README:126-127). Background tabs are kept rendering via CDP focus emulation but pop-up tabs are outside the MVP (README:126). Remote or cloud browsers are not supported — only local CDP.

Editor's note. Correction: jev-ultrafast itself adds no remote-browser code, but the browser-harness daemon it relies on attaches to a remote or cloud CDP endpoint when BU_CDP_WS or BU_CDP_URL is set, so 'local CDP only' is too strong.

browser-use/browser-harness

answered

Browser sessions are handled through three modes: local, CDP URL/WS, and cloud.

  • Local browser: The default mode. The daemon discovers a running Chrome/Chromium/Edge/Brave instance by scanning known profile directories (PROFILES in daemon.py:112-113 which aggregates platform-specific paths from profile_dirs(), lines 102-109). It reads DevToolsActivePort from the profile directory to find the WebSocket endpoint (get_ws_url(), lines 264-342). Daemon identity verification uses process-start fingerprinting (_process_start_time() in admin.py:17-105) to prevent PID-reuse bugs during restart.

  • Remote CDP endpoint: Set via BU_CDP_WS (direct WebSocket URL) or BU_CDP_URL (HTTP DevTools endpoint, auto-resolved to WS via /json/version). Used for dedicated automation Chrome instances that avoid the per-connection Allow dialog (daemon.py:270-290). BU_CDP_URL also blocks cloud auto-bootstrap (run.py:99-100).

  • Cloud browsers (Browser Use Cloud): Provisioned via start_remote_daemon() in admin.py:997-1036. This calls POST /api/v3/browsers to spin up a managed cloud Chrome, then connects the daemon via the returned cdpUrl. Cloud browsers support: profile-based cookie sync (profileName/profileId, resolved from list_cloud_profiles()), proxy country selection (proxyCountryCode), custom proxies (customProxy), configurable viewport, and auto-recording. Auto-bootstrap to cloud is opt-in via BU_AUTOSPAWN env var (run.py:400-401).

  • Profiles and cookies: Local profiles are detected via list_local_profiles() (shells out to profile-use list --json). sync_local_profile() uses profile-use sync to push local Chrome cookies to a cloud profile for logged-in sessions. The Browser Use Cloud API lists profiles with cookieDomains arrays as a login-state summary (admin.py:957-984).

  • Anti-bot: No built-in stealth or CAPTCHA resolution. The README states cloud browsers "run with clean managed IPs and stealth settings" and CAPTCHA solving (README claim — managed by Browser Use Cloud infrastructure, not in this repo). The http_get() helper routes through fetch-use proxy when BROWSER_USE_API_KEY is set (helpers.py:631-638).

  • Auth: PKCE OAuth flow or device-code flow to Browser Use Cloud via auth.py. Auth persisted in a chmod 600 JSON file at the config dir. Also supports BROWSER_USE_API_KEY environment variable.

browser-use/workflow-use

answered

Local vs cloud: The Browser object from browser-use supports use_cloud boolean parameter (service.py:76). Cloud mode sends browser sessions to Browser-Use Cloud (Browser(use_cloud=True)), which runs remote browser instances behind an API. Local mode uses Playwright Chromium installed via playwright install chromium. CLI commands consistently expose --use-cloud flags (cli.py:1137, 1192, 1344, 1777, 2311).

Persistent profiles and cookies: The RecordingService (recorder/service.py:104–140) creates a persistent BrowserProfile with headless=False, a user_data_dir for Chrome profile persistence, and extension-loading arguments. The profile has keep_alive=True so the browser stays running between steps until explicitly stopped. In the Workflow runner, self.browser.browser_profile.keep_alive = True is set at init (service.py:79) and set to False only when close_browser_at_end=True (service.py:940–943). Each run call opens the browser and closes it in a finally block.

Stealth and proxies: Neither stealth mode nor proxy configuration is implemented in this project. The Browser and BrowserProfile classes are imported from browser-use, which may support these, but the workflow_use code never passes stealth or proxy arguments. The extension's Chrome launch args include --no-default-browser-check and --no-first-run for cleaner startup (recorder/service.py:120–125).

CAPTCHA: Not handled. There is no CAPTCHA detection, solving, or bypass mechanism. The README notes the project is "in very early development" and not production-ready.

MCP integration: The WorkflowController disables 22 of browser-use's default actions (including switch_tab, open_tab, close_tab) for deterministic execution (controller/service.py:26–52), limiting the session to the workflow's predefined step sequence. The MCP service (mcp/service.py) exposes recorded workflow files as callable MCP tools via FastMCP, with dynamically-typed signatures derived from each workflow's input schema.

lahfir/agent-desktop

answered

agent-desktop does not manage browser sessions, profiles, cookies, stealth, proxies, or CAPTCHA — it automates native desktop apps. Its session system is for application state persistence:

Session creation/lifecycle: session start creates a filesystem-backed session under ~/.agent-desktop/sessions/<run-timestamp-pid-counter>/ with a SessionManifest (id, optional name, created_at, ended_at, trace mode, artifacts mode, cursor_overlay config). Sessions are explicitly ended via session end (session/mod.rs:279-327). The session ID is passed via --session or AGENT_DESKTOP_SESSION env var and scopes snapshots/trace files. Sessions are entirely local — no remote/cloud infrastructure.

Trace/observability: When trace is enabled (default for sessions), per-process JSONL trace segments are written under <session>/trace/<pid>-<procTs>.jsonl (session/manifest.rs:38-44). ArtifactsMode::Full additionally copies each snapshot's refmap into the trace directory for post-hoc analysis.

Ref persistence: Snapshot refs are stored by snapshot ID under <state root>/snapshots/<snapshot_id>/refmap.json, with a latest_snapshot_id pointer. With sessions, the store is scoped to <state root>/sessions/<session_id>/. Retention keeps the newest 128 snapshots and prunes to 96 (refs_store.rs:16-17). A 1 MB write-side guard prevents oversized refmap files.

Subagent cursors: Session-aware multi-agent cursor mode (--cursor --multi-agent) provides independent visual cursors per agent, keyed by session ID and global --agent-id. Cursor overlay config can be set per-session and overridden per-agent via <session>/cursor-overlays/<agent_id>.json (session/mod.rs:144-182).

Anti-bot/stealth: Not applicable. The tool respects OS-level accessibility permissions via permission_report() (adapter/system.rs:30-37), requiring macOS accessibility grant. This is a permission, not anti-bot. The state root defaults to ~/.agent-desktop, overridable via AGENT_DESKTOP_HOME.

hyperbrowserai/HyperAgent

answered

Browser sessions are managed through the abstract BrowserProvider<T> base class (src/types/browser-providers/types.ts:3), with two concrete implementations: LocalBrowserProvider (src/browser-providers/local.ts) and HyperbrowserProvider (src/browser-providers/hyperbrowser.ts). Selection is controlled by HyperAgentConfig.browserProvider (default: "Local") (src/agent/index.ts:81-83, 124).

LocalBrowserProvider launches Playwright's Chromium with channel: "chrome", headless: false, and the stealth flag --disable-blink-features=AutomationControlled (src/browser-providers/local.ts:13-18). This flag helps evade anti-bot detection by suppressing the "Chrome is being controlled by automated software" banner. Additional launch options can be passed via localConfig.

HyperbrowserProvider (src/browser-providers/hyperbrowser.ts) connects to cloud browser sessions via the @hyperbrowser/sdk. It creates a remote session through the Hyperbrowser API (client.sessions.create()), then connects Playwright to it via chromium.connectOverCDP(session.wsEndpoint) (src/browser-providers/hyperbrowser.ts:35-41). Session details (live URL, session ID, info URL) are logged in debug mode. On close, it both closes the Playwright browser and calls client.sessions.stop() to terminate the cloud session (src/browser-providers/hyperbrowser.ts:58-63).

Profiles, cookies, and auth are managed through raw Playwright BrowserContext — the agent creates one context per browser session with viewport: null (src/agent/index.ts:160-162). The context is not configured with a persistent profile directory by default; users can pass a Playwright-provided context via initPage into executeTask()/executeTaskAsync() for session reuse. Anti-bot beyond the AutomationControlled flag is not implemented — the system prompt instructs the agent to "Accept or close" cookie banners and to try refreshing or alternative approaches for CAPTCHAs (src/agent/messages/system-prompt.ts:74-77). Proxies are not configured in the agent layer but can be passed through Playwright launch options via localConfig or hyperbrowserConfig, which are passed through to the underlying chromium.launch() / chromium.connectOverCDP() calls.

awlevin/typesafe-computer-use

answered

The desktop adapter (macOS) drives the user's real machine — it activates apps via AppleScript, captures the screen, and sends synthetic input events through Quartz. There is no isolated browser session: the classifier decides to use_browser, which brings CLICKER_BROWSER (default Google Chrome) to the front via AppleScript activate, then optionally opens a URL via open location. The browser's own cookies, profiles, and extensions are untouched because the loop uses AppleScript's own activation — it never launches a separate Chrome instance. (macos.py:146–172, macos.py:126–128, cli.py:30–38)

Browser backend (CDP): cdp.py:Chrome starts a dedicated, ephemeral Chrome instance with a fresh temporary profile (tempfile.mkdtemp(prefix="tscu-chrome-")). The debugging websocket listens on loopback only (127.0.0.1) and restricts origins to itself. The profile is removed on close(). This never touches the user's profile. Headless mode is available (--headless=new) in addition to headed. (browser/cdp.py:80–87, 94–125, 148–159, docs/browser-backend.md:3)

OSWorld VM: JevAgent runs inside an Ubuntu VM via OSWorld's runner. The OSWorldDesktop adapter communicates through pyautogui code strings. The browser is started per task by OSWorld — activate calls wmctrl -xa google-chrome, starting the browser with subprocess.Popen if it isn't running. Each task gets a fresh VM snapshot via OSWorld's reset(), so no session persists. (osworld/desktop.py:196–201, 256–281, osworld/agent.py:98–106)

Windows adapter: Uses UI Automation's Windows API access — session follows whatever the current Windows desktop has. The browser URL is read from the address bar via UI Automation (Chrome/Edge show it without the scheme). (windows.py:71–73, 1–10, docs/windows.md:1–13)

Anti-bot / stealth / CAPTCHA: None of these are implemented. The README explicitly says passwords are never typed — the user should rely on the browser's password manager or an SSO button the OCR can read. There are no stealth measures, no proxy configuration, no CAPTCHA handling, no user-agent rotation, and no cookie persistence across runs. The CDP chrome starts with --disable-extensions, --disable-sync, --disable-background-networking — these are for determinism in benchmarking, not stealth. (docs/how-a-step-works.md:172, browser/cdp.py:104–112)

omdsh-dev/dsh-browser

answered

Sessions are grounded in the user real browser - the extension runs as a first-party Chrome/Firefox MV3 extension, so all login state, cookies, and local profiles are inherited naturally. There is no headless browser, no Playwright, no separate profile management. The bridge authenticates the extension via a bearer token presented in the hello frame within HELLO_TIMEOUT_MS (server.ts:276-279). Loopback connections can skip the token if Origin comes from chrome-extension:// (server.ts:304-309); non-loopback and Firefox connections always require the token. The token is generated once and persisted as a 0600 file (token.ts:72-78). Session-to-tab binding is managed by PageSessionContextTracker (session-continuity.ts:40-88), mapping (tabId, windowId, urlKey) to sessionIds, persisted in chrome.storage.session. TabAffinityController (tab-affinity.ts:58+) tracks controlled-tab state and blocks tool dispatch during user tab switches with a handoff decision. Bridge sessions are grouped into a dedicated workspace via withSessionWorkspace() (session-workspace.ts:26-82). Session creation is deferred until first prompt by withSessionDeferral() (session-deferral.ts:54-172); abandoned provisional sessions expire after 30 minutes. Approved action origins are cached per session (background/index.ts:189). The ApprovalCoordinator (approval-coordinator.ts:25-101) manages per-action user approval with a 60s timeout. There are no proxies, CAPTCHA handlers, or stealth measures - the model uses whatever browser state the user already has.

droidrun/mobile-jev

answered

This is not a browser automation tool. It controls real Android phones via the Mobilerun cloud API. The MobilerunDevice class (device.mjs:191-377) communicates with https://api.mobilerun.ai/v1 (default) or a staging variant via MOBILERUN_BASE_URL. The device ID is configured through MOBILERUN_DEVICE_ID (.env.example:5). Devices are provisioned and managed outside this project — the code merely connects to one.

Local vs remote/cloud: All device operations go through the Mobilerun cloud API. There is no local ADB, no emulator support, and no direct USB connection. The assertReady() method (device.mjs:249-256) checks the device state via GET /devices/:id and requires state === 'ready'. Device readiness is cached for 30 seconds to avoid redundant checks (device.mjs:271).

Persistent profiles and cookies: Not applicable — this is a mobile phone with its own persistent state (installed apps, accounts, settings). The listApps() method (device.mjs:240-247) queries installed apps with ?includeSystemApps=true so Jev can discover and launch them. The phone retains its state between runs; there is no profile isolation or session reset in the code.

Stealth / anti-bot / proxies: None implemented. The device is a genuine Android phone managed by Mobilerun — there is no browser fingerprint, user-agent, or proxy configuration. The Mobilerun API requires HTTPS (http.mjs:107-111). The TypeSafe API also requires HTTPS (http.mjs:11-13). Only 127.0.0.1 loopback is allowed for testing.

CAPTCHA handling: Not implemented. The README explicitly warns that "Jev's DONE response is not independent proof of success" (README line 103) and recommends checking resulting device state, especially for numeric values and multi-part goals. The demo runner (demo-verifiers.mjs:1-8) performs post-task state verification by checking actual toggle state rather than trusting the model.

Studio sessions: The Next.js studio (apps/jev-studio/) spawns agent runs as isolated child processes running web-runner.mjs (store.mjs:98-103). Each run gets its own process. API credentials live only on the server; the browser receives only device-scoped streaming tokens (route.ts:21-22). The studio is restricted to localhost with same-origin validation (store.mjs:12-24). Runs are held in in-memory storage only, cleared on server restart (store.mjs:178-183). One task owns the configured device at a time — concurrency is rejected with a 409 error (store.mjs:69, 151).

jkudish/jev-browser

answered

Each run gets a fresh, isolated headless Chromium browser instance owned by the run (src/navigate.ts:665). The viewport is 1024×640. JEV_BROWSER_HEADED=1 makes it visible. Playwright's default timeout is lowered to 8s (src/navigate.ts:679).

Local vs remote: only local Playwright Chromium is supported. The HTTP transport (src/http.ts) runs the same local browser per request with concurrency capped at JEV_BROWSER_MAX_CONCURRENCY (default 4, src/http.ts:47). Each admitted request gets its own Chromium — no pooled browsers. The HTTP mode is stateless (no MCP sessions persisted). An auth token (JEV_BROWSER_AUTH_TOKEN) is required for non-loopback hosts (src/http.ts:50).

Persistent profiles and cookies: there are no long-lived browser profiles. The package supports seed cookies (src/lib.ts:516-609 and src/navigate.ts:495-508) — cookies injected into the context before the first navigation so the run starts already logged in. Values are delivered by reference (file path or env var name, never in argv/tool args), validated (non-empty, no control characters, 4-4096 bytes), and redacted from all outputs. Default cookie attributes: host-only (exact domain match), path /, httpOnly: true, sameSite: Lax, secure: true on https start URLs. __Host- names enforce these at runtime. Seed cookies are refused on injected pages (would mutate the caller's context).

Auth/password fill (src/password.ts and src/navigate.ts:511-528,967-1008): passwords are code-injected into native password fields, never sent to the model. Delivery channels: one-shot handoff files (validated 600 mode, single link, inside a 700 handoff directory), JEV_PASSWORD_* env vars, or stdin (CLI only). The value is bound to a specific origin (e.g. https://acme.com, http only on localhost). A fill never presses Enter — submission is a separate action. Redaction covers raw, percent-encoded, HTML-entity, markdown-escaped, YAML-quoted, and whitespace-normalized echoes. Video recording and Playwright debug modes are refused on credential runs. Credential runs suppress the final screenshot.

Anti-bot/stealth (src/lib.ts:378-515): Cloudflare interstitial detection is built in. Marker-based detection (titles like "Just a moment...", body phrases like "Ray ID:", "Performance and security by Cloudflare") runs DOM-only. A detected challenge gets an 8s auto-clear window before the run is declared blocked. The cf-mitigated response header is tracked but never alone causes a stop. There is no stealth (no anti-fingerprinting beyond vanilla Playwright headless), no proxy support, and no CAPTCHA-solving. The guidance for blocked runs recommends reusing a clearance-bearing browser session or using the site's API (src/lib.ts:442-446).

Injected pages (src/navigate.ts:666-667): callers can pass an existing Playwright Page to reuse their own browser, context, and session. Jev Browser never closes an injected page, context, or browser.

savka777/jev-use

answered

Local macOS-only. The app controls the user's own desktop — there is no remote/cloud browser, no Docker, no VNC. Browser control is through the macOS NSWorkspace.shared.open() API, which launches or activates the native browser binary (Desktop.swift:1133). The app reads a list of known browsers by bundle identifier (Desktop.swift:60): Brave, Chrome, Safari, Edge, Firefox, plus any Chromium/Electron app detected by the presence of a (Renderer).app helper (Desktop.swift:67-77). Persistent profiles and cookies are not managed by the app — it opens URLs through the OS, so the user's existing browser profile and cookies are used as-is. Stealth/anti-bot is not implemented: there is no user-agent manipulation, no browser fingerprint spoofing. Proxies are not configured by the app — the system proxy configured in macOS is used by default. CAPTCHA handling is not implemented and not claimed; if a site presents a CAPTCHA, the model cannot solve visual challenges. The code includes a waitForPageToSettle() function (Desktop.swift:970-993) that polls the Accessibility tree until the control count stabilises after page navigation. Auth/Keychain: API keys for TypeSafe and OpenRouter are stored in the macOS system Keychain using the SecItem API (KeyStore.swift:14-36) under the service name local.jev-use. Wake phrase detection is purely client-side text matching (WakePhrase.swift:5-33): the app matches "Hey Jev" (or the variant "Hey Jeff") at the start of an Apple Speech transcript fragment — no dedicated wake-word engine.

razaanstha/ulka

answered

Local browser only: Ulka operates as a Chrome extension (MV3) and controls the user's local Chrome browser — it attaches to existing tabs via CDP, not remote/cloud browsers. The AttachedBrowser class (browser.ts:7-22) wraps a CDP debugger session: attach() sends api.attach(target, "1.3"), detach() releases it, and switchTo() detaches, updates the tab ID, and re-attaches. TaskBrowserSession (browser.ts:24-47) manages reuse of a single AttachedBrowser instance across a task, ensuring only one CDP connection at a time. The extension stores API keys in Chrome's storage.local. Persistent profiles and cookies: there is no auth/profile/cookie management in the codebase — no cookie injection, no saved session restoration, and no login profile handling. The extension uses whichever Chrome profile the user is already signed into. Stealth and anti-bot: there is no stealth feature — no user-agent manipulation, no request header stripping, no fingerprint masking, and no anti-detection measures. The CDP attachment is standard Chrome Debugger Protocol without modifications. Proxies: there is no proxy configuration. CAPTCHA handling: there is no CAPTCHA detection or solving mechanism. When a CAPTCHA appears, the system has no special handling — it would just observe whatever interactive controls the page exposes. The BLOCKED operation (snapshot.ts:8, agent-runner.ts:118) is a catch-all escape for when the model decides it cannot progress, but nothing specific to CAPTCHAs exists. Background mode: the extension supports a background mode (storage.local ulkaBackground) where tab switches happen without activating the tab, allowing the user to continue browsing while the agent works (background.ts:98,105). Navigation guard: UrlProvenance (url-provenance.ts traced in fx-agent.ts as urls.assertObserved()) ensures the agent only navigates to URLs that were either supplied by the user or observed in a previous browser result — preventing navigation to unverified or hallucinated URLs. validateNavigationUrl() (navigation.ts:5-13) restricts navigation to https:// URLs or internal chrome:// pages (extensions, history, downloads, bookmarks, settings, newtab, version only). Internal chrome:// pages return a stub PageSnapshot since their content is unavailable via CDP (navigation.ts:17-26).

ekzhang/openjev-sglang

not applicable

OpenJev has no browser sessions, profiles, or auth state. It is a pure inference API with no persistent user context between requests. Each HTTP request is stateless: the backend stores nothing between evaluations. The only "authentication" is an optional shared Bearer token checked against a static OPENJEV_API_KEY environment variable, validated in the ASGI middleware (api.py:36-53). There are no cookies, no stealth measures, no proxy configuration, no CAPTCHA handling, and no persistent browser profiles. SGLang itself has a radix attention cache for KV reuse across requests, but this is an opportunistic performance optimization (not a session) and is explicitly documented as not being a "pinned per-request KV session" (README). The Modal deployment has no auth on the public endpoint by default.

← Which models are supported and how are they called?