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.
npx -y @corlabsdev/mcp@latest setup --source site_homeChrome 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.
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 ↗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 sitesof 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 sitesHow 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.
- 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 - In development2
Centralize
Every locator lives in COR Studio, one repo versioned like code: commits, branches and merge review.
checkout/paymain · a41f2c - In development3
Replace page objects
The SDK resolves locators by name. The CLI moves your existing suite over without a rewrite.
cor('checkout', 'pay') - 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.
new CheckoutPage(page).payButton()new CartDrawer(page).pay()new MobileCheckout(page).payBtn()cor analyze ./testsGrade every selector you already havecor migrate --layer=1Wrap them in place. Nothing else changes.cor pushCommit them to the shared repocor 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.
COR Lens
Chrome extension, for you
Click any element on any page you can open. No account, no setup.
Add to ChromeCOR 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.
getByRole('button', { name: 'Pay $48' })Unique and accessible, but the name includes the price. The next cart total breaks it.
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.
npx -y @corlabsdev/mcp@latest setup --source site_home