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.
- Unzip
snaplocator-v0.7.0.zipsomewhere stable. - Open
chrome://extensionsand toggle Developer mode on. - Click Load unpacked, point Chrome at the unzipped folder.
- 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.