ego (lite) 只是一個瀏覽器,ego 則是你跨裝置的個人 Agent。
加入候補名單
ego lite 對比 Selenium

最好用的 Selenium 替代品

Selenium is the W3C WebDriver standard for cross-browser tests: you write the script, tune the waits, and run it against a fresh browser with no logins.

ego lite is a Selenium alternative for AI agents. There is no script, no driver, and no Grid. Run /ego-browser and your coding agent controls ego lite, reading each page as a Snapshot and writing its own JavaScript, finishing whole tasks 3 to 4x faster than Selenium.

獲得來自以下單位開發者的信賴
GoogleAmazonShopifyTikTokHarvardStanfordUSCUCLA

為什麼 ego lite 比 Selenium 更好

Selenium still owns cross-browser regression in CI. Agent work inside the browser you already live in is a different job. Run /ego-browser in Claude Code, Codex, or Cursor and describe what you want.

在實際任務中快 3 到 4 倍

Selenium's timing pain is familiar: waits you keep tuning, elements that go stale mid-click, retries baked into the starter config, and "Element is not clickable at point" forever on Stack Overflow.

Run /ego-browser and your coding agent controls ego lite, reading each page as a Snapshot with stable @N refs, acting on what's on the page, and reading again only if the page moved, finishing whole tasks 3 to 4x faster than Selenium.

Time to finish a task, shorter is better
81.8 sego lite
282.9 sagent browser
Data source - Task: scrape the main posts from the X account from the last 7 days

平行多工,執行更快

Running two browser chores at once in Selenium means either juggling parallel driver sessions yourself or standing up Grid. That is the right machinery for a nightly cross-browser matrix, and far too much for three things you want done before lunch.

In ego lite there's no cap on how many Spaces you open inside the same browser: each one runs its own task at the same time, controlled by a coding agent via /ego-browser on its own imported Chrome profile. None of them ever steals the tab you're using, and you can watch or take over any Space anytime.

不再來回往返 消耗更少 tokens

Raw Selenium scripts spend no tokens because there is no model in the loop. Wrap WebDriver for an agent and the bill shows up fast: Selenium still has no official MCP server, and community servers often dump a heavy DOM tree into the model's context.

Run /ego-browser and your coding agent batches several actions in a few lines of JavaScript per turn to control ego lite, reading pages as Snapshots of roughly 200 to 400 tokens. Stacked together, the same task completes on far fewer tokens overall.

Claude Code · ego lite
>/ego-browser Add the first product to the cart, then check checkout loads
Bash(
ego-browser nodejs <<'EOF' await openOrReuseTab('localhost:3000') await click('.product-card') await click('.add-to-cart') await click('a[href="/checkout"]') cliLog('checkout loaded') EOF
)
Output:
[t=4480ms] checkout loaded
Done. Both steps work.
─── 1 tool call · 1.1k tokens ───
Claude Code · mcp-selenium
>Add the first product to the cart, then check checkout loads
selenium - start_browser (MCP)(browser: "chrome")
Result
Browser started with session_id 4f1c…
1.6k tokens sent so far
Fresh Chrome, no cookies and no logins. Loading the storefront.
selenium - navigate (MCP)(url: "localhost:3000")
Result
Navigated to localhost:3000
3.1k tokens sent so far
Nothing came back about the page itself. Reading the accessibility resource to find the first product.
selenium - accessibility://current
Accessibility tree
… +214 lines (ctrl+o to expand)
4.9k tokens sent so far
First product card is .product-card. Clicking it.
selenium - interact (MCP)(action: "click", by: "css", value: ".product-card")
Result
Clicked element
6.8k tokens sent so far
Product page is up, so everything I just read is out of date. Reading the tree again.
selenium - accessibility://current
Accessibility tree
… +206 lines (ctrl+o to expand)
9.2k tokens sent so far
Add to cart is .add-to-cart.
selenium - interact (MCP)(action: "click", by: "css", value: ".add-to-cart")
Result
Clicked element
11.2k tokens sent so far
Added. Opening checkout, then I still have to confirm it loaded.
selenium - interact (MCP)(action: "click", by: "css", value: "a[href='/checkout']")
Result
Clicked element
13.6k tokens sent so far
─── 7 tool calls · 13.6k tokens ───
同樣的任務,同樣的模型。 左邊:ego lite 裡一次打包的 JavaScript 呼叫,總共 1.1k tokens。 右邊:經社區 MCP 伺服器的 Selenium,7 次往返,token 漲到 13.6k。

同一個 Chrome,AI Agent 原生體驗

Selenium cannot attach to the Chrome profile you are already using. Point ChromeDriver at it while Chrome is open and you get "user data directory is already in use."

Built on Chromium, ego lite imports your entire Chrome setup in one click. When your coding agent runs /ego-browser, it controls ego lite with your real sessions already in place, so it doesn't stall on SSO, 2FA, or captchas on accounts you already have.

ego lite Chrome 個人設定檔匯入:一鍵設定,帶入你所有的登入狀態

ego lite 對比 Selenium

ego lite 與 Selenium 的功能比較。
功能ego liteSelenium
工作是怎麼完成的Describe the task; coding agent controls ego lite via /ego-browser用 Java、Python、C#、Ruby 或 JavaScript 編寫 WebDriver 腳本
等待與不穩定Coding agent reads Snapshots and acts via /ego-browserExplicit waits, stale-element handling, retry counts
沿用你真實的 Chrome 登入狀態Yes, one-click Chrome profile importNo. Fresh session per run; a live Chrome profile is locked
設定Install ego lite, run /ego-browser in your agentLanguage project plus a driver per browser
與 AI Agent 協作Built for them via /ego-browserNo official MCP; community servers like mcp-selenium
平行任務Space 在同一個可見的瀏覽器中隔離各項任務由你運維的 Grid 節點或並行 driver 會話
跨瀏覽器覆蓋面僅 ChromiumChrome, Edge, Firefox, and Safari via WebDriver
日常使用的瀏覽器可以,你在自己的 Space 裡瀏覽,Agent 在它們自己的 Space 裡工作不是,它是面向測試的自動化庫
可重複使用的 skills(即將推出)將成功的執行過程萃取成可重複使用的 skills;隨著 AI Agent 重複執行,複雜任務最多可加快 5 倍(限量 beta)沒有內建的對應功能
價格免費,無需訂閱Free, Apache-2.0 (Grid capacity is your cost)
最後更新 2026年7月30日

讓轉換無縫接軌

Don't port your WebDriver suite. Move the interactive, logged-in work that never fit a regression suite to ego lite in a few minutes.

  1. 下載 ego (lite)

    下載 ego lite,一鍵匯入你的 Chrome 設定檔,登入狀態、Cookie 和擴充功能全部一併帶入。

  2. 用 /ego-browser 執行你的第一個任務

    貼到你的 Agent 裡

    /ego-browser 打開 ego.app,列出頁面上每個按鈕的文字

    Paste one sentence into Claude Code, Codex, or Cursor and hit enter. No driver binary, no Grid, no MCP config.

  3. 看它實際運作
    ego lite 的 Space 總覽,四項瀏覽器任務並排執行:Claude Code 在 Yahoo Finance 追蹤蘋果股價、Codex 在 cars.com 依年份篩選車款、Hermes 完成一項 SaaS 後台任務、一位使用者在擷取 X 上的資料,還有一隻手正點擊 + 開啟另一個 Space

    The task runs in its own Space, so your tabs stay untouched. Watch live or take over anytime. Results land back in your agent's CLI.

Keep Selenium for cross-browser regression in CI.

何時該用哪個工具

適合選擇 ego (lite) 的情況

  • Your tasks touch logged-in sites: dashboards, admin panels, anything behind SSO or 2FA.
  • Interactive, one-off browser work that never belonged in a regression suite.
  • You want several tasks running in parallel Spaces without standing up Grid.
  • You care about per-task token cost. Snapshot input plus batched JavaScript beats one MCP call per action.

選擇 Selenium 的情境

  • You need Firefox and Safari coverage. ego lite is Chromium only.
  • Your team writes tests in Java, Python, C#, Ruby, or JavaScript with official WebDriver bindings.
  • You run enterprise regression on Selenium Grid.
  • You want the WebDriver standard, Apache-2.0 governance, and decades of QA answers on Stack Overflow.

給你的 AI Agent 一個真實瀏覽器

免費,在你的 Mac 上執行,一鍵匯入你的 Chrome 個人設定檔。適用於 Claude Code、Codex、Cursor,以及任何會寫程式碼的 CLI AI Agent。

還在權衡?看看 Selenium 和同賽道其他工具怎麼比。

FAQ

Selenium is the industry's longest-running browser automation project and the reference WebDriver implementation, with bindings for Java, Python, C#, Ruby, and JavaScript plus Grid for distributed cross-browser runs. It is excellent for QA regression. Searches like Selenium vs Playwright or Selenium vs Puppeteer usually compare test frameworks; this page is about what changes when an AI agent, not a script, browses inside a browser you are already signed into.

Yes for agent-driven, logged-in browser work: describe the task, no WebDriver script, no driver binary. No for cross-browser regression suites or Selenium Grid pipelines in CI. Keep Selenium for committed tests; use ego lite for interactive work that never fit a suite.

Selenium was built for deterministic test scripts, not LLM-driven loops. Wrapping WebDriver for an agent means heavy DOM dumps or community MCP servers like mcp-selenium, with no official Selenium MCP from the project. ego lite is built for agents from the start: run /ego-browser and your coding agent controls ego lite with Snapshot input and batched JavaScript.

There is no official Selenium MCP server. Maintainers have noted that interactive LLM sessions saturate context quickly. Community servers like mcp-selenium exist but often re-read a heavy accessibility tree on every page change. ego lite skips MCP entirely: run /ego-browser in Claude Code, Codex, or Cursor.

Not the profile Chrome is already using. Selenium's issue tracker documents that ChromeDriver cannot attach to a live default profile while Chrome is open. ego lite imports a copy of your profile once, and every task starts signed in.

Playwright vs Selenium usually comes down to test engineering. Playwright is a modern framework with auto-waiting and strong debugging. Selenium is the W3C WebDriver standard with five official languages and Grid for cross-browser matrices. Both start from a blank browser. If an agent is doing the browsing, the bigger question is whether it can reuse your logins. See ego lite vs Playwright and ego lite vs Puppeteer.

For test automation, Selenium vs Puppeteer depends on language and browser reach. Puppeteer is a lean Node.js library focused on Chrome. Selenium is cross-browser and multi-language with Grid. For selenium puppeteer searches comparing AI agent paths, both still mean writing and maintaining scripts. ego lite removes that layer for logged-in agent work.

Neither is designed as an agent browser out of the box. Teams usually add Playwright MCP or a community Selenium MCP wrapper, which still means one tool call per action and a fresh or manually configured profile. ego lite is the agent-native path: run /ego-browser and your coding agent controls ego lite with fewer tokens per whole task.

navigator.webdriver is part of the WebDriver standard, so automated fingerprints are expected. ego lite is not a stealth tool. The practical difference is narrower: your coding agent controls ego lite, the Chromium browser you are already signed into, so many login walls never appear in the first place.

Free, local, no account. No ChromeDriver, GeckoDriver, or Grid to install or keep in sync. macOS 12+, Intel and Apple Silicon. Run /ego-browser in Claude Code, Codex, or Cursor.