COR Lens · Chrome extension

Every locator graded. Fragile ones caught.

Click any element. COR Lens grades every candidate locator A–F and writes the strongest one in your framework's syntax.

Free · No account · Works on any page you can open in Chrome

Inspector: hover to outline any element, click to capture it. COR Lens ranks every locator for that one element and copies the best.NLP Search: describe an element in plain words. Numbered badges mark the matches on the page, with the reason for the top one. AI is optional and uses your own key.Scan All: scan the page once, grade every interactive element, filter the weak ones, and export CSV, JSON or a page object.Record: start a scenario and use your app. Every click and fill is captured as a graded step, grouped by page, then saved under a name.

Example scores

How it works

Three steps from "which selector?" to a passing test

  1. 1

    Capture what you click

    No hunting through DevTools. COR Lens reads the live page around the element, attributes, roles and position, and builds every viable locator.

    Pay $48
  2. 2

    Grade before you trust

    Each candidate is scored on uniqueness, stability and complexity. You see the grade before you copy the code, not after CI fails.

    Uniqueness
    Stability
    Complexity
    A 96
  3. 3

    Export in your syntax

    One captured locator, written for the framework your suite already uses. Pick it, copy it, paste it.

    await page.getByTestId('pay')Playwright · Cypress · Selenium · +4
checkout.payButton · grade A 967 frameworks
await page.getByTestId('pay').click();

The grade

A formula, not a vibe

Every score weighs five signals, the same ones that predict whether a selector survives the next redesign. Nothing is hidden: this is the whole recipe.

  • 40%

    Uniqueness

    Matches exactly one element on the page.

  • 30%

    Stability

    Built on things that survive redesigns: test ids, roles, labels.

  • 15%

    Base

    The starting weight of the strategy that produced it.

  • 10%

    Complexity

    Short, flat selectors beat long chains.

  • 5%

    Framework fit

    Uses your framework's native locator API.

Also in COR Lens

Three more ways to skip the guesswork

Search

Describe it in plain English

Type "the checkout submit button" and COR Lens finds it. Uses your own OpenAI or Gemini key.

"the second Add to cart button"
Scan

Grade a whole page at once

Scan every interactive element in one pass and see which ones have no good locator.

AABDFA
Record

Record a real flow

Hit record and use your app like a test would. Every click and fill is captured, graded and grouped by page.

clickfillclickselect

Works where selectors get hardShadow DOMiframesTablesSelenium relative locators

Need one kind of selector? XPath finder · CSS selector finder · Playwright gets getByRole and getByTestId code: try it on the Playwright practice page

Your locators stay in your browser

Captured locators are stored locally, and COR never receives them.

Beta. Anonymous usage analytics go to PostHog. Plain-English search sends element context to the AI provider whose key you use.

Questions

Before you install

Can't find your answer? Ask in Discord or send us a message.

Do I need an account?

No. COR Lens is free and works with no sign-up, no login and no setup.

Which sites does it work on?

Any page you can open in Chrome. It reads the live DOM of the page you're viewing, including shadow DOM and iframes.

Which frameworks can I export to?

Playwright, Cypress, Selenium, WebdriverIO, Nightwatch, TestCafe and Puppeteer. The same captured locator is written in each one's native syntax.

What data leaves my browser?

Your captured locators don't. Anonymous usage analytics go to PostHog, and if you use plain-English search, element context goes to the AI provider whose key you supplied.

Grade your first locator in under a minute

Free. No account. Works on any page you can open in Chrome.

Working with a coding agent? Use COR MCP instead

Want somewhere to try it? Open the automation practice site