# Locator Fragility Checker | Find brittle selectors before tests fail

Inspect a rendered website or pasted HTML to discover locator candidates, count CSS and XPath matches, and identify brittle selectors before tests fail.

Canonical: https://tamperbox.dev/locator-checker

Docs: https://docs.tamperbox.dev/tools/locator-checker.md

Updated: 2026-10-26

Reviewed: 2026-10-26

## How it works

Inspect a public HTTPS website with JavaScript on our server, or paste HTML that stays in your browser. Discover candidate selectors and check CSS, XPath or a bounded Playwright syntax against the resulting snapshot. The full method, every rule and worked examples are on [docs.tamperbox.dev](https://docs.tamperbox.dev/tools/locator-checker/).

## Limits and interpretation

Website inspection starts only when you choose Inspect website. It uses a fresh session, a 1440 × 900 viewport and a bounded wait; login, clicks, frames, shadow roots, service workers and non-GET requests are not supported. Blocked resources and late content can change the snapshot. Only the address is sent to our server; pasted HTML and selectors stay local. A unique match does not prove visibility, clickability or future stability. Playwright syntax uses a static approximation, not the Playwright runtime. Snapshots are limited to 1,000,000 characters and 10,000 elements; discovery lists the first 30 identifiable controls, links and test hooks.

## Frequently asked questions

### Can I inspect a website address?

Yes. Enter a public HTTPS address and choose Inspect website. Our server loads the page with JavaScript and returns its rendered DOM snapshot for local locator checks.

### Is pasted HTML uploaded?

No. Pasted HTML and selectors stay in the current tab. The explicit website action sends only the website address to our server.

### Does one match prove my test will work?

No. A match describes this snapshot. Verify the intended element, visibility, accessible name and action in your actual test runner and repeat after a meaningful page change.

## References

[Playwright locator guidance](https://playwright.dev/docs/locators) and [DOM selector matching](https://dom.spec.whatwg.org/#dom-parentnode-queryselectorall).
