One home for every locator your tests use

COR generates graded locators, keeps them in one versioned repo. Your tests call a name. Page objects go away.

Add to Chrome
npx -y @corlabsdev/mcp@latest setup --source site_home

Chrome extension for you, MCP server for your coding agent. Works with Claude Code, Codex, Cursor and VS Code. SDK, CLI and COR Studio are in development.

Click any element. COR grades every candidate and keeps the strongest.It lands in one versioned repo your whole team shares.Every test asks for it by name, in any framework. No page objects.The UI changed. COR proposes the fix, it is reviewed once, and every test keeps passing.

Example scores and revisions. Illustrative.

The problem

Nothing in your app broke. The tests broke anyway.

A DOM change breaks selectors, not your product. Someone still has to stop, find out why and fix it. Then the next engineer fixes the same locator again.

77%

of locator changes inspected in real GitHub repos were silent breaks, not safe updates

de Moura et al., ReproBreak, arXiv 2026 · 449 of 580 changes, including Playwright's own repo ↗
26%

of XPath locators stop resolving after real site changes. In 19% of cases neither the ID nor the XPath survives.

Kluge & Stocco, Empirical Software Engineering 2026 · 10,376 element pairs on 30 major sites
89%

of test-script failures traced back to fragile locator design, the most common root cause found

Zhang et al., ASE 2025 · 120 real workflows replayed on live sites

How it works

From a click in the browser to a locator your whole suite shares

Four steps, one store. Every locator is generated once, reviewed once and fixed once, for every engineer and every CI run.

  1. Live1

    Generate

    Click an element in the Chrome extension, or let your coding agent ask through the COR MCP server. Every candidate is graded A–F.

    getByTestId('pay')A 96
  2. In development2

    Centralize

    Every locator lives in COR Studio, one repo versioned like code: commits, branches and merge review.

    checkout/paymain · a41f2c
  3. In development3

    Replace page objects

    The SDK resolves locators by name. The CLI moves your existing suite over without a rewrite.

    cor('checkout', 'pay')
  4. In development4

    Heal

    When the DOM changes, COR re-scores the element from its fingerprint and proposes the fix to the repo. One fix reaches everyone.

    .btn-primary → getByTestId('pay')

SDK & CLI · in development

Three page objects, three selectors, one button

The same button gets defined again in every page object that touches it, each time with a different selector. COR keeps one graded locator, and every test asks for it by name.

Before: each file keeps its own copy. When the UI changes, three files break three different ways.

checkout.spec.tsnew CheckoutPage(page).payButton()
cart.spec.tsnew CartDrawer(page).pay()
mobile.spec.tsnew MobileCheckout(page).payBtn()
Move an existing suite over, one layer at a time
cor analyze ./testsGrade every selector you already have
cor migrate --layer=1Wrap them in place. Nothing else changes.
cor pushCommit them to the shared repo
cor pullCI reads a local cache. No per-test network calls.

Step 1 · Generate · live today

Two ways to generate. One grading engine.

Use the extension yourself or hand it to your agent. Either way COR lists every way to find the element, scored on uniqueness 40%, stability 30%, complexity 10%, framework fit 5% and a 15% base. Pick a row to see why it scored that way.

Live · free

COR Lens

Chrome extension, for you

Click any element on any page you can open. No account, no setup.

Add to Chrome
Live · npm

COR MCP

MCP server, for your coding agent

Your agent asks for an element and gets ranked locators with a grade, a match count and the risks, then writes the one it picked into your test.

claude mcp add cor -- npx -y @corlabsdev/mcp@latest --source site_home

Needs Node 18+ and Chrome. Nothing is installed globally.

4 candidates · button "Pay $48"checkout.acme.dev
Why BB 78
getByRole('button', { name: 'Pay $48' })

Unique and accessible, but the name includes the price. The next cart total breaks it.

Uniqueness 40%
100
Stability 30%
55
Complexity 10%
80
Framework 5%
95
Base 15%
100

Example scores for illustration.

Get on the list

Be first when the SDK ships

Use the extension and the MCP server today. Join the waitlist and we'll write once as the SDK, the CLI and COR Studio open.

No waiting, no account
Add to Chrome
npx -y @corlabsdev/mcp@latest setup --source site_home