Locator Pilot — Playwright Element Locators
Overview
Pick any element and get a Playwright locator in C# or TypeScript. Paste a locator to find it on the page.
Locator Pilot helps you write Playwright tests faster. Click any element on a page and copy a ranked set of locators in C# or TypeScript — or paste a locator back in to find and highlight it. <b>Pick an element, get a locator</b> Open the docked panel from the toolbar, click Pick an element, and click anything on the page. Locator Pilot ranks candidates the way Playwright recommends: role and accessible name first, then label, placeholder, alt text, title, text, test-id, CSS, and XPath. <b>See which locator will actually work</b> Every candidate shows how many elements it matches right now. Unique locators stay quiet; 2+ matches and zero matches get their own color so you don't copy a locator that will flake. Brittleness warnings call out auto-generated class names, positional selectors, and unnamed roles. Hidden matches (display:none / visibility:hidden) get an orange badge, because Playwright actions will time out on them. <b>C# and TypeScript</b> Toggle the language in the panel. Your last choice is remembered. Copy a single locator, or export the whole pick history as one block. <b>Paste a locator to find it</b> Paste a Playwright call (TS or C#), a text=/css=/xpath= selector, or a bare CSS/XPath expression. Matches are highlighted on the page — including inside open shadow roots and same-origin iframes. <b>What this extension does not do</b> No servers, no account, no telemetry. It only runs after you click the toolbar icon. The only thing saved is your Options preference (test-id attribute name and language), in chrome.storage.sync. Source and issue tracker: https://github.com/gaurangpb/locator-pilot Privacy policy: https://gaurangpb.github.io/locator-pilot/privacy.html
0 out of 5No ratings
Details
- Version0.1.0
- UpdatedSeptember 15, 2026
- Offered byautomationBuddy
- Size27.1KiB
- LanguagesEnglish (United States)
- Developer
Email
gaurangpb@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, please open this page on your desktop browser