ego (lite) बस एक ब्राउज़र है, ego आपके सभी डिवाइस पर आपका पर्सनल एजेंट है।
वेटलिस्ट में शामिल हों
ego lite बनाम Playwright

सबसे बेहतरीन Playwright विकल्प

Playwright turns browser behavior into code you maintain. ego (lite) turns the browser into a workspace your coding agent can use.

ego (lite) completed 93.5% of tasks perfectly in our published benchmark of 31 live-site browser automation jobs, the highest perfect-completion rate measured.

इनके डेवलपर्स भरोसा करते हैं
GoogleAmazonShopifyTikTokHarvardStanfordUSCUCLA

Browser automation benchmark: ego lite vs Playwright

This is agent-driven browser automation on live websites, not a scripted test suite you commit to CI. ego lite and Playwright ran the same 31 multi-step tasks end to end: several pages, several decisions, many behind a login. A locator recorded last month often dies on those pages. Both ran the identical set, so the bars below compare the same jobs.

agent: pimodel: ChatGPT 5.6 Solthinking: max31 tasks

Task completion rate

How often the agent finished the job. Stuck at login, skipped a step, or returned the wrong result: that task is a fail. Higher is better.

ego lite93.5%31 tasks benchmarked
playwright-cli71.0%31 tasks benchmarked

Cost per completed task

What one finished job costs in model spend. Failures still get billed, so they push this number up. Lower is better.

ego lite$1.75
playwright-cli$4.82

Model turns per task

How many times the model had to look at the page and choose the next action. Extra looks mean extra tokens, extra waiting, and extra places to stall. Lower is better.

ego lite30.3
playwright-cli42.8

Average task time

How long a job took from start to finish, on average, including time spent waiting on the model. Lower is better.

ego lite6m 38s
playwright-cli10m 48s

We ran the same 31 browser automation tasks with the same model and judge. A failed task still counts against it.

Playwright ran through playwright-cli, the CLI Microsoft ships for coding agents. Not a saved test script.

Check the numbers, or rerun the tasks yourselfThe 31 tasks, grading checklists, and raw results are open source. If a number looks off, open the repo.ego-browser-benchmark-framework

ego lite, Playwright से बेहतर क्यों है

The difference is where the workflow lives. Playwright asks you to author and evolve the automation; ego (lite) lets your agent work from the outcome you want, across search, research, data extraction, forms, testing, and everyday web tasks. It can use your authorized browser state and its own Space, so the work stays visible without taking over your tabs.

93.5% of tasks done perfectly. No other tool tops 84%.

A Playwright script survives about as long as the page it was recorded against. Codegen locators capture one DOM snapshot, and a redesign a few months later leaves you patching selectors instead of shipping. Even driven by an agent through Microsoft's own playwright-cli, 29% of those 31 live-site tasks ended short of a perfect score.

In ego lite, your agent reads the page as a compressed Snapshot with stable @N refs and writes the JavaScript itself, so it adapts when the page changes instead of breaking: 93.5% of the same 31 tasks ended perfect, at the fastest average task time of the five tools measured.

Time to finish a task, shorter is better
398 sego (lite)
648 splaywright-cli
Data source - Task: finish an average live-site job

पैरेलल मल्टीटास्किंग, तेज़ी से एग्ज़ीक्यूट करें

Playwright के पैरेलल टेस्ट रन डिफ़ॉल्ट रूप से हेडलेस होते हैं। हेडेड मोड में हर वर्कर के लिए अलग OS विंडो खुल जाती है, और किसी एक को रोककर खुद कंट्रोल लेने का कोई तरीका नहीं होता, इसलिए ज़्यादातर टीमें इसे हेडलेस ही रखती हैं और बाद में ट्रेस फ़ाइल देखकर काम चलाती हैं।

ego lite में आप जितने चाहें Spaces खोल सकते हैं, इस पर कोई सीमा नहीं है: हर Space अपने इम्पोर्टेड Chrome प्रोफ़ाइल पर अपना अलग टास्क चलाता है, और कोई भी आपके इस्तेमाल किए जा रहे टैब को नहीं छीनता। किसी भी Space को कभी भी लाइव देखें या उसका कंट्रोल अपने हाथ में लें।

अब कोई बार-बार आना-जाना नहीं कम टोकन खर्च

Microsoft के अपने playwright-cli के ज़रिए किसी एजेंट से Playwright चलाने पर भी, आप हर एक्शन के लिए अलग कमांड ही दे रहे होते हैं: स्नैपशॉट लें, किसी ref पर क्लिक करें, फिर से स्नैपशॉट लें, नतीजा पढ़ें, और अगली कमांड तय करें।

ego lite में, एजेंट हर टर्न में कई एक्शन को एक ही JavaScript कॉल में बैच कर देता है और पेज को पूरे एक्सेसिबिलिटी डंप के बजाय एक कंप्रेस्ड Snapshot के रूप में पढ़ता है। दोनों को मिलाकर देखें तो पूरा टास्क कुल मिलाकर कहीं कम टोकन में पूरा हो जाता है।

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 · playwright-cli
>Add the first product to the cart, then check checkout loads
$playwright-cli open localhost:3000
stdout
Opened http://localhost:3000
1.6k tokens sent so far
Storefront loaded. Snapshotting to find the first product.
$playwright-cli snapshot
Snapshot
… +224 lines (ctrl+o to expand)
3.1k tokens sent so far
First product card is e12. Clicking it.
$playwright-cli click e12
stdout
Clicked e12
4.9k tokens sent so far
Product page is up, refs are stale. Snapshotting again.
$playwright-cli snapshot
Snapshot
… +205 lines (ctrl+o to expand)
6.8k tokens sent so far
Add to cart button is e8.
$playwright-cli click e8
stdout
Clicked e8
9.2k tokens sent so far
Added. Heading to checkout.
$playwright-cli click e21
stdout
Clicked e21
11.2k tokens sent so far
Confirming the checkout page actually rendered.
$playwright-cli snapshot
Snapshot
… +229 lines (ctrl+o to expand)
13.6k tokens sent so far
─── 7 tool calls · 13.6k tokens ───
एक ही टास्क, एक ही मॉडल। बाएं: ego lite में एक बैच्ड JavaScript कॉल, कुल 1.1k टोकन। दाएं: playwright-cli के ज़रिए चलाया गया Playwright, 7 राउंड ट्रिप, टोकन बढ़कर 13.6k तक पहुंचे।

वही Chrome, एजेंट-नेटिव

एक नया Playwright कॉन्टेक्स्ट पूरी तरह खाली शुरू होता है, इसलिए असली ऑथेंटिकेशन के लिए लॉगिन को स्क्रिप्ट करना, storageState सेव करना, और यह उम्मीद करना पड़ता है कि टोकन आपके टेस्ट रन जितनी देर चलें। जब कोई प्रोवाइडर रिफ्रेश टोकन बदल देता है, जैसा Auth0, MFA के तहत करता है, तो सेव की गई स्थिति वैसे भी टूट जाती है।

ego lite एक ही क्लिक में आपकी पूरी Chrome प्रोफ़ाइल इम्पोर्ट कर लेता है: कुकीज़, सेशन, और एक्सटेंशन सब साथ आ जाते हैं, इसलिए एजेंट वहीं से शुरू होता है जहां आप पहले से साइन-इन हैं।

ego lite Chrome प्रोफ़ाइल इम्पोर्ट: आपके सभी लॉगिन के साथ वन-क्लिक सेटअप, storageState फ़ाइल की कोई ज़रूरत नहीं

ego lite बनाम Playwright

ego lite और Playwright के बीच फीचर तुलना।
फ़ीचरego litePlaywright
काम कैसे होता हैटास्क को बताएं; आपका एजेंट ब्राउज़र चलाता हैTS/Python/Java/.NET स्क्रिप्ट लिखें और उनका रखरखाव करें
पेज में बदलाव को कैसे संभालता हैएजेंट Snapshot को फिर से पढ़ता है और खुद को ढाल लेता हैलोकेटर टूट जाते हैं; आपको कोड अपडेट करना पड़ता है
लॉग-इन साइट्स (SSO, 2FA)आपकी असली Chrome प्रोफ़ाइल और सेशन खुद-ब-खुद मिल जाते हैंखाली कॉन्टेक्स्ट; लॉगिन स्क्रिप्ट करें, storageState मैनेज करें
सेटअपऐप इंस्टॉल करें, अपने एजेंट में /ego-browser चलाएंNode/Python प्रोजेक्ट, ब्राउज़र इंस्टॉल करें, कॉन्फ़िग फ़ाइल बनाएं
AI एजेंट्स के साथ काम करता हैउन्हीं के लिए बनाया गया: ego-browser के ज़रिए Claude Code, Codex, Cursorcodegen, playwright-cli, या अलग Playwright MCP सर्वर के ज़रिए
Browser automation on live sites (31-task suite)93.5% perfect, $1.75 per completed task, 6m 38s average71% perfect, $4.82 per completed task, 10m 48s average (via playwright-cli)
पैरेलल टास्कSpaces एक ही दिखने वाले ब्राउज़र के अंदर टास्क को आइसोलेट करते हैंवर्कर और कॉन्टेक्स्ट, आमतौर पर हेडलेस
रोज़मर्रा का ब्राउज़रहां, आप अपने Space में ब्राउज़ करते हैं जबकि एजेंट अपने-अपने Space में काम करते हैंनहीं, यह एक ऑटोमेशन लाइब्रेरी है, ऐसा ब्राउज़र नहीं जिसमें आप रोज़ रहते हों
CI टेस्ट सूटNot a test runner; agents handle browser work directlyहां, यह मौजूद सबसे मज़बूत टेस्ट रनर और CI सपोर्ट है
रीयूज़ेबल स्किल्स (जल्द आ रहा है)Distills successful runs into reusable skills for repeat tasks (limited beta)कोई बिल्ट-इन इक्विवैलेंट नहीं
कीमतमुफ़्त, कोई सब्सक्रिप्शन नहींमुफ़्त, ओपन सोर्स
आखिरी बार अपडेट किया गया 30 अग॰ 2026

इसे एक सहज ट्रांज़िशन बनाएं

You don't port Playwright tests to ego (lite). Keep them. What moves over is browser work you want an agent to handle directly: search, research, extraction, forms, testing, and logged-in workflows outside your CI suite.

  1. ego (lite) डाउनलोड करें

    ego lite डाउनलोड करें और एक ही क्लिक में अपनी Chrome प्रोफ़ाइल इम्पोर्ट करें। वो लॉगिन भी साथ आ जाते हैं जो आपके टेस्ट कॉन्टेक्स्ट में कभी नहीं होते थे।

  2. /ego-browser के साथ अपना पहला टास्क चलाएं

    अपने एजेंट में पेस्ट करें

    /ego-browser ego.app खोलें और नेव बार में मौजूद हर लिंक की सूची बनाएं

    Claude Code, Codex, या Cursor में /ego-browser चलाएं। कोई प्रोजेक्ट स्कैफ़ोल्ड नहीं, कोई playwright.config नहीं।

  3. इसे काम करते देखें
    ego lite Spaces का ओवरव्यू, चार ब्राउज़र टास्क साथ-साथ चल रहे हैं: Yahoo Finance पर Apple स्टॉक ट्रैक करता Claude Code, cars.com पर साल के हिसाब से कार फ़िल्टर करता Codex, एक SaaS back-office टास्क पूरा करता Hermes, X स्क्रैप करता एक यूज़र, और एक और Space खोलने के लिए + दबाता एक हाथ

    एजेंट को वो टास्क दें जिसके लिए आप आमतौर पर स्क्रिप्ट लिखते, जैसे किसी लॉग-इन डैशबोर्ड से आंकड़े निकालना या चेकआउट फ्लो पूरा करना, बस एक वाक्य में बताकर।

Keep Playwright for deterministic end-to-end suites in CI. ego (lite) covers the agent-driven browser work around them, from investigation and search to live checks and data collection.

हर टूल का इस्तेमाल कब करें

ego (lite) चुनें जब

  • काम आपके लॉगिन के पीछे होता है: डैशबोर्ड, एडमिन पैनल, SSO, और storageState को स्क्रिप्ट करना इसके लायक नहीं है।
  • आप टेस्ट प्रोजेक्ट बनाने और लोकेटर मैनेज करने के बजाय Claude Code, Codex, या Cursor को सीधे टास्क बताना पसंद करते हैं।
  • आप चाहते हैं कि कई फ्लो पैरेलल Spaces में चेक हों, जबकि आप उसी ब्राउज़र में ब्राउज़िंग करते रहें।
  • आपको प्रति-टास्क टोकन लागत की चिंता है: Snapshot इनपुट और बैच्ड JavaScript, दोनों मिलकर पूरे टास्क को सस्ता रखते हैं।

Playwright चुनें जब

  • आप ऐसे कमिटेड एंड-टू-एंड टेस्ट सूट बना रहे हैं जो CI में नियतात्मक ढंग से चलते हैं। यही Playwright की मूल ताकत है।
  • आप इसके टेस्ट रनर, ऑटो-वेटिंग, ट्रेस व्यूअर, और codegen पर निर्भर हैं, ऐसे टूल जो ज़्यादातर प्रतिस्पर्धियों के पास अब भी नहीं हैं।
  • आपको Firefox और WebKit का कवरेज चाहिए। ego lite सिर्फ़ Chromium पर काम करता है।
  • आपकी टीम TypeScript, Python, Java, या .NET में काम करती है और हर भाषा में फर्स्ट-क्लास बाइंडिंग चाहती है।

अपने एजेंट को एक असली ब्राउज़र दें

मुफ़्त, आपके Mac पर चलता है, एक क्लिक में आपकी Chrome प्रोफ़ाइल इम्पोर्ट करता है। Claude Code, Codex, Cursor, और कोड लिखने वाले किसी भी CLI एजेंट के साथ काम करता है।

अभी भी अपने विकल्प तौल रहे हैं? देखें कि Playwright इसी क्षेत्र के दूसरे टूल की तुलना में कैसा है।

FAQ

Playwright, Microsoft का Chromium, Firefox, और WebKit के लिए ओपन-सोर्स ऑटोमेशन फ्रेमवर्क है, जिसमें TypeScript, Python, Java, और .NET के लिए फर्स्ट-क्लास बाइंडिंग मौजूद हैं। इसका टेस्ट रनर, ऑटो-वेटिंग, ट्रेस व्यूअर, और CI इंटीग्रेशन इस कैटेगरी में सबसे मज़बूत हैं, और कमिटेड, नियतात्मक एंड-टू-एंड टेस्ट सूट के लिए इसे पीछे छोड़ना अब भी मुश्किल है। Microsoft ने playwright-cli भी शुरू किया है, जो Playwright टीम की तरफ़ से Claude Code और Copilot जैसे कोडिंग एजेंट के लिए टोकन का ध्यान रखने वाला साथी CLI है। यह पेज मुख्य फ्रेमवर्क और इसके स्क्रिप्टिंग व CLI वर्कफ़्लो के बारे में है; Playwright MCP, जो अलग एजेंट-केंद्रित MCP सर्वर है, का अपना अलग तुलना पेज है। एजेंट-चालित तरीका चुनने वाले डेवलपर्स Browser Use बनाम Playwright और Stagehand बनाम Playwright को भी तौलते हैं, क्योंकि ये तीनों ज़्यादातर LLM-चालित ब्राउज़िंग स्टैक में दिखाई देते हैं।

AI-एजेंट-चालित ब्राउज़र काम के लिए, हां: न कोई स्क्रिप्ट, असली लॉगिन, पैरेलल Spaces, यही इसे उन कुछ Playwright विकल्पों में गिनता है जो और स्क्रिप्टिंग के बजाय खासतौर पर एजेंट के लिए बनाए गए हैं। CI में कमिटेड एंड-टू-एंड टेस्ट सूट के लिए, नहीं। Playwright का टेस्ट रनर, ट्रेसिंग, और क्रॉस-ब्राउज़र कवरेज सचमुच बेहतरीन हैं, और आपको उनका इस्तेमाल जारी रखना चाहिए। साफ़ बंटवारा यही है: जो टेस्ट आप कमिट करते हैं उनके लिए Playwright, और जो टास्क आप सौंपते हैं उनके लिए ego lite।

We ran the same 31 browser automation tasks on live websites, driven by the same pi agent with the same model (gpt-5.6-sol, thinking effort max) and graded by the same written checklist. Playwright entered through playwright-cli, the companion CLI the Playwright team ships for coding agents, which is the strongest agent-facing way to run it today. ego (lite) finished 93.5% of 31 tasks perfectly at $1.75 per completed task; agent-driven Playwright finished 71.0% across 31 tasks at $4.82. The tasks, the checklists, and the raw results are open source in the ego-browser-benchmark-framework repository on GitHub, so every number can be audited or reproduced.

तीनों ही स्क्रिप्ट-फर्स्ट फ्रेमवर्क हैं, चाहे आप इसे playwright vs puppeteer खोजें या puppeteer vs playwright। नए टेस्ट सूट के लिए Playwright जीतता है: सबसे तेज़ रनर, ऑटो-वेटिंग, TS/Python/Java/.NET, और तीनों इंजन। जब आप Node में सिर्फ़ Chrome तक सीमित हों और एक हल्का DevTools-स्तर का API चाहें, तो Puppeteer जीतता है। जहां W3C WebDriver स्टैंडर्ड, व्यापक भाषा बाइंडिंग, या मौजूदा एंटरप्राइज़ Grid अहम हो, वहां Selenium जीतता है। ego lite की भूमिका अलग है: स्क्रिप्ट के बजाय एक AI एजेंट ब्राउज़िंग करता है, न कोई कोड मैनेज करना पड़ता है और आपकी असली लॉग-इन प्रोफ़ाइल पहले से जुड़ी होती है।

Selenium बनाम Playwright की बात दोनों तरफ़ के ट्रेड-ऑफ़ पर आकर टिकती है। Playwright: तेज़ एग्ज़िक्यूशन, बिल्ट-इन ऑटो-वेटिंग, एक आधुनिक टेस्ट रनर, और ट्रेस व्यूअर व codegen जैसे टूल; इसकी कीमत है एक अपेक्षाकृत नया इकोसिस्टम। Selenium: W3C WebDriver स्टैंडर्ड, सबसे व्यापक भाषा और लीगेसी-ब्राउज़र कवरेज, और दो दशकों का एंटरप्राइज़ अनुभव; इसकी कीमत है ज़्यादा वर्बोज़ कोड और ज़्यादा एक्सप्लिसिट वेट मैनेजमेंट। अगर आज आप कोई टेस्ट फ्रेमवर्क चुन रहे हैं, तो ज़्यादातर टीमें Playwright को चुनती हैं। अगर काम स्क्रिप्ट की जगह एजेंट-चालित है, तो देखें कि हमारे Selenium पेज पर ego lite, Selenium से कैसे तुलना करता है।

Both wrap a fresh Playwright browser for agent use, and both still run one command per action in a blank profile: Playwright MCP as MCP tool calls, playwright-cli as CLI invocations. ego lite instead batches multiple actions in JavaScript per turn, reads pages as compressed Snapshots, and starts from your real logged-in Chrome profile. Across those 31 live-site jobs that difference measures out to 93.5% of tasks perfect against 71%, at $1.75 per completed task against $4.82, with playwright-cli as the Playwright entrant. Full breakdown on the ego lite vs Playwright MCP page.

आंशिक रूप से। आप स्क्रिप्टेड लॉगिन के बाद storageState सेव कर सकते हैं, या किसी Chrome प्रोफ़ाइल डायरेक्टरी की तरफ़ इशारा करती एक पर्सिस्टेंट कॉन्टेक्स्ट लॉन्च कर सकते हैं, लेकिन सेशन एक्सपायर हो जाते हैं, 2FA और SSO स्क्रिप्टेड लॉगिन में बाधा डालते हैं, और किसी चल रहे Chrome के साथ प्रोफ़ाइल शेयर नहीं की जा सकती। ego lite आपकी प्रोफ़ाइल को एक बार इम्पोर्ट करता है, और उसके बाद एजेंट को असली लॉगिन स्थिति खुद-ब-खुद मिल जाती है।

हां। मुफ़्त, कोई सब्सक्रिप्शन नहीं, डेटा लोकली स्टोर होता है। जिस ego-browser शेल से आपका एजेंट कनेक्ट होता है, वह MIT-लाइसेंस्ड ओपन सोर्स है।

CI flake usually comes from shared state, unstable selectors, race conditions, resource pressure, or a test that assumes a fixed delay. Use isolated fixtures, locator-based assertions, waits for meaningful application state, bounded retries for diagnosis, and trace artifacts. ego lite is not a CI test-runner replacement: its visible Spaces help an agent investigate an interactive failure, while Playwright remains the right choice for committed deterministic suites.

No tool can guarantee that, and this page does not provide bypass instructions. A block is an access-control decision: respect the site's terms, robots and rate limits, use an official API or licensed feed, request permission, or stop. ego lite can use your own authorized browser session for content you can already see, but a real Chrome profile, residential IP, stealth plugin, or mouse simulation is not a promise of access and must not be used for ban evasion.

For interactive, agent-driven work, ego lite lets the agent read the current page and choose an action instead of maintaining a generated selector for every one-off task. That reduces script maintenance, but it does not make a changing site magically stable: keep source-linked results, verify important fields, and retain Playwright for assertions and repeatable CI coverage. For Playwright itself, prefer roles, labels, test IDs, and stable application contracts over generated CSS classes.

An agent can turn a plain-English scenario into Playwright code, run the suite, inspect a trace, and propose or apply a fix in a controlled branch. It still needs a clear assertion contract, test data, and human review: an agent can make a test green by weakening an assertion or masking a product bug. ego lite is useful for exploring a flow in a real session; promote verified behavior into committed Playwright tests when it must run in CI.

Treat an iframe as a separate browsing context and wait for the frame or application state that proves it is ready; do not rely on arbitrary sleeps. For Stripe-like third-party checkout, use the provider's supported test mode and stable labels, and keep secrets out of fixtures. An agent can inspect a live frame and recover from a changed layout, but it cannot remove cross-origin restrictions or guarantee that a provider's UI will remain available.