Playwright Locator Inspector
- 507 users
- No ratings yet
- #3,150in Developer Tools
DevTools panel to generate robust Playwright & XPath locators uniquely identified within the DOM. Supports AI optimization.
by nagaswqa · 1 listing
- Users
- 507
- #3,150 of 31,800 in category
- Rating
- —
- No ratings yet · median 4.64
- Version
- 4.1.0
- 89.39 KiB · Manifest V3
- Access
- Low19/100
- 3 permissions + 1 site pattern
Description
As written by the publisher on the storePlaywright Locator Inspector Pro Usage Guide (v4.1.0)
Welcome to the professional suite for Playwright automation. This guide covers how to maximize the efficiency of your locator generation and browser automation workflows.
🚀 1. Getting Started
Open DevTools: Press F12 or Ctrl+Shift+I on any webpage.
Locate Tab: Find the PW Inspector tab in the top navigation of DevTools.
Configure AI: Click the ⚙️ (Settings) icon and enter your OpenAI API Key. This enables Layer 3 (Vision) and Layer 4 (OCR) analysis.
🎯 2. Live Inspect Mode
Used for inspecting elements on actual live websites.
Start Inspecting: Click the big 🎯 Start Inspecting Page button.
Select Element: Hover over and click any element on the webpage.
View Results:
Recommended Locator: The most robust, native Playwright locator.
🪄 AI Suggest: Run the hybrid pipeline (DOM + Vision + OCR) for complex elements.
Code Block: Get ready-to-use snippets in Python, JS, or Java.
📋 3. Paste DOM Mode
Used for generating locators from HTML snippets, even if the site is offline or behind a firewall.
Paste HTML: Paste your HTML code into the text area.
Render Preview: Click Render Preview. A "Sandbox" will appear.
Inspect Sandbox: Click any element inside the preview to generate locators as if it were a live site.
TIP
ag-Grid Support: Pasting ag-Grid snippets automatically triggers a specialized "Grid Layout" for easier cell selection.
🤖 4. AI Agent Mode
Used for generating multi-step automation scenarios using natural language.
Enter Task: Type a goal (e.g., "Go to GitHub, search for Playwright, and click the first result").
Start Agent: Click ▶ Start Agent.
Live Terminal: Watch the agent's thought process and tool execution in real-time.
Multi-Language Scripts: Once finished, use the JS / PY / JAVA toggles to see the generated Playwright script.
Workspace Isolation: The Agent workspace is isolated; it won't clutter your "Live Inspect" results.
🛠️ 5. Advanced Features
🔍 Specialized XPaths (CPY XP)
Next to every AI suggestion, you'll see a CPY XP button. These aren't standard XPaths; they are AI-Optimized:
Parent Anchoring: They use structural context rather than indices (e.g., //nav//a instead of
(//a)[3]
).
Text Resilience: Long text blocks automatically use contains(normalize-space(.), ...) to prevent breakage from minor content shifts.
🌓 Multi-Language Switching
Instantly switch between Python (Pytest), JavaScript (Playwright Test), and Java logic for every locator and script generated.
🧹 Clear All
The 🧹 (Clear) button is global. It wipes the state across all three tabs, giving you a fresh start for a new project.
Happy Automating! 🚀
Ratings and reviews
Ratings as the store shows themNo written reviews held for this listing yet.
Track Playwright Locator Inspector on Radar
This page shows the listing as it is today. Add it to Radar and get one email when it changes.
- Users and rating
- Store text and screenshots
- Permissions it asks for

Playwright Locator Inspector, in plain words
What it is, what to use instead, what it can access and how to fix it.
Playwright Locator Inspector at a glance
Playwright Locator Inspector is a Developer Tools extension by nagaswqa with 507 users. It has no store ratings yet, so there is little public feedback to go on. By users it sits in the top 10% of Developer Tools extensions.
- By users
- #3,150of 31,800 in Developer Tools
- Access
- Low19 of 100
Playwright Locator Inspector alternatives
Closest by what they do · users as the store shows them · bars on a log scaleIs Playwright Locator Inspector safe?
Playwright Locator Inspector asks for 3 permissions and access to 1 site pattern. None of them are on our list of wide-access permissions.
Permissions show what it could do, not what it does. See the full permission list.
storageNot on our wide-access listscriptingNot on our wide-access listactiveTabNot on our wide-access list
Every permission Playwright Locator Inspector asks for
3 permissions + 1 site pattern · none sensitive · Low access overallSites
- Read and change data on matching sites
https://api.openai.com/*
Browser permissions · 3
- Save its own settings
storage - Run its code on pages it can access
scripting - Work on the tab you click it on
activeTab
Sensitive marks access that reaches your data or other sites. The access level is a 0 to 100 score of all of it: under 25 is Low, 60 and up is High.
Playwright Locator Inspector not working?
What recent reviews say
Store reviews from the last 90 daysWe have no recent public signals of problems with Playwright Locator Inspector.
Common fixes
Try them in this order- 1Update Chrome and the extension
- 2Turn it off and on in chrome://extensions
- 3Reload the page
- 4Turn other extensions off in case two clash
Still stuck? Contact the maker or try an alternative.
Know when a listing changes
Track any extension on Radar: users, rating, permissions and store text, with one email when something moves.