Chrome DevTools extension - free, MIT

SnapLocator - locators for 9 frameworks, in 1 click

A Chrome DevTools extension built by The Testing Academy. Pick any element, get stable locators for Playwright (TS/JS/Python/Java), Selenium (Java/Python), Cypress, WebdriverIO and Robot Framework. Stability scoring, self-healing chains, smart patterns, locator history, and a one-click Page Object generator. No ads, no tracking, no remote calls.

Download v0.7.0

Side-loaded Chrome extension (Manifest v3). Drop the zip, unpack, load unpacked, done. Works on Chrome 116 and newer.

v0.7.0 75 KB MIT license Chrome 116+ No telemetry
  1. Unzip snaplocator-v0.7.0.zip somewhere stable.
  2. Open chrome://extensions and toggle Developer mode on.
  3. Click Load unpacked, point Chrome at the unzipped folder.
  4. F12 on any page, switch to the SnapLocator DevTools tab, start picking.

What's in the panel

Twelve features, every one designed to remove a step from your daily locator workflow.

9 frameworks, 1 panel

Playwright TS/JS/Python/Java + Selenium Java/Python + Cypress + WDIO + Robot.

Stability scoring

best / good / ok / fragile - know which locator will survive a redesign.

Smart patterns

Parameterised templates for inputs - ${'$'}{placeholder}, ${'$'}{name}, ${'$'}{id}, ${'$'}{label}.

Test locator bar

Type any CSS/XPath, see the match count live before pasting it.

Pick + highlight

Overlay-based picker, per-row flash on the inspected page.

Self-healing chains

Playwright .or() fallbacks for fragile primary locators.

Shadow DOM + iframe

Auto-detect nested DOM, emit frameLocator() and shadow traversal.

XPath axes

ancestor / following / preceding / sibling - one click each.

Locator linter

Flags absolute XPath, nth-of-type, auto CSS class names.

Locator history

Last 50 picks persisted across DevTools sessions.

Page Object generator

Basket - modal - full Page Object class in the framework you chose.

Keyboard-first

Pick, copy, switch framework - all by shortcut. No mouse tax.

Zero telemetry, zero analytics, zero remote calls. Permissions used: activeTab, scripting, storage only. Marketing page: app.thetestingacademy.com/snaplocator - public site: snaplocator.com.