Item logo image for Locator Labs - Playwright & Selenium Locator Generator

Locator Labs - Playwright & Selenium Locator Generator

5.0(

44 ratings

)
Item media 5 (screenshot) for Locator Labs - Playwright & Selenium Locator Generator
Item media 1 (screenshot) for Locator Labs - Playwright & Selenium Locator Generator
Item media 2 (screenshot) for Locator Labs - Playwright & Selenium Locator Generator
Item media 3 (screenshot) for Locator Labs - Playwright & Selenium Locator Generator
Item media 4 (screenshot) for Locator Labs - Playwright & Selenium Locator Generator
Item media 5 (screenshot) for Locator Labs - Playwright & Selenium Locator Generator
Item media 1 (screenshot) for Locator Labs - Playwright & Selenium Locator Generator
Item media 1 (screenshot) for Locator Labs - Playwright & Selenium Locator Generator
Item media 2 (screenshot) for Locator Labs - Playwright & Selenium Locator Generator
Item media 3 (screenshot) for Locator Labs - Playwright & Selenium Locator Generator
Item media 4 (screenshot) for Locator Labs - Playwright & Selenium Locator Generator
Item media 5 (screenshot) for Locator Labs - Playwright & Selenium Locator Generator

Overview

Generate smart Playwright & Selenium locators. Supports getByRole, XPath, CSS selectors, relative locators, & Page Objects.

LocatorLabs - The Ultimate Locator Generator for Test Automation Generate smart Playwright & Selenium locators instantly with AI-powered suggestions and automated Page Object generation! How to Install: 1. Click the "Add to Chrome" button above 2. Confirm the installation when prompted 3. Open Chrome DevTools (F12 or Right-click β†’ Inspect) 4. Look for the "Locator Labs" tab in DevTools β†’ Elements β†’ Locator Labs 5. Start inspecting elements to generate locators! What's New in 1.5.1: - Added better support for iFrame and ShadowDOM - Added Tooltip for each locator with proper description & message - Added Selenium/Playwright logos - πŸ›Bug Fixes: Fixed iframe highlighting and locator parsing Improvements: - Enhanced Page Object Generation: Relative locators now fully integrated in page object exports - Better Element Detection: Uses DevTools' native $0 reference for reliable element selection - Improved Display: Clean locator code display in page objects modal (no type prefix for relative locators) - Multiple Fallback Strategies: 7 different strategies to find elements (ID, name, testID, XPath, text content, CSS, and $0) Core Features: - Dual Framework Support - Seamlessly switch between Playwright & Selenium - Smart Locator Suggestions - getByRole, getByLabel, getByPlaceholder, CSS, XPath - Real-time Testing & Validation - Highlight elements instantly on the page - Shadow DOM & iframe Support - Handle complex web applications - Auto-complete with Syntax Highlighting - Write locators faster - Context-Aware Suggestions - Get the best locator for each element - Dark/Light Theme - Comfortable for any time of day - Smart Locators - Table rows, form fields, and more - Playwright Chained Locators Full support for Selenium 4+ Relative Locators - Generate locators based on spatial relationships: above(), below(), toLeftOf(), toRightOf(), near() - Works for all element types: buttons, links, inputs, and more - Smart anchor element detection with multiple fallback strategies - Automatic import generation for RelativeLocator.with (Java) and locate_with (Python) Additonal Features: - πŸ“Έ Screenshot Capture - Take screenshots with highlighted elements preserved - ✏️ Drawing & Annotation Tool - Mark up pages for detailed bug reports - ⏸️ Pause Mode - Press 'P' to pause drawing and inspect elements underneath - ⌨️ Enter Key Navigation - Press Enter to cycle through highlighted elements - πŸ”„ Circular Navigation - Seamlessly loop through matching elements (1β†’2β†’3...β†’1) πŸ’‘ Perfect for: - QA Engineers - Test Automation Developers - Software Testers - SDET (Software Development Engineer in Test) - DevOps Engineers πŸ”§ Supported Frameworks & Languages: Playwright: β€’ TypeScript β€’ JavaScript β€’ Python Selenium: β€’ Java β€’ Python ⚑ Key Benefits: - Save hours of manual locator creation - Generate maintainable, production-ready Page Objects - Reduce flaky tests with smart locator strategies - Boost productivity with instant suggestions - Learn best practices through recommended locators πŸŽ“ Created by Naveen Automation Labs Helping QA engineers build better test automation. ⭐ If you find LocatorLabs helpful, please leave a review!

Details

  • Version
    1.5.1
  • Updated
    November 6, 2025
  • Offered by
    Naveen Automation Labs
  • Size
    190KiB
  • Languages
    English
  • Developer
    Naveen Automation Labs FZCO
    Email
    naveenanimation20@gmail.com
  • Non-trader
    This 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

The developer has disclosed that it will not collect or use your data.

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

Related

BetterBugs: A Fresh Approach to Bug Reporting

4.8

Catch, report and fix bugs faster.

SelectorsHub Pro

5.0

xPath plugin to auto generate, write and verify xpath & cssSelector.

xPath Finder

3.3

Click on any element to get the xPath

TestCraft

3.5

TestCraft - GPT-Powered Test Idea Generator & Automated Test Creator

SelectorsHub

4.8

Locators Plugin to Auto Generate and Verify Playwright Locators, XPath & CSS Selectors.

Playwright POM Generator

5.0

Generate production-ready Playwright Page Object Model files with syntax highlighting

Check My Links

4.2

Check My Links is a link checker that crawls through your webpage and looks for broken links.

Testim Editor

3.8

The simplest and most advanced testing automation tool, using Adaptive Learning and Computer Vision image validation.

Playwright Locator Assistant

5.0

Instantly generate and verify the best Playwright locators for any element on the page.

Page Load Timer

5.0

Displays webpage load time in the toolbar

Playwright CRX

4.9

Playwright as a chrome extension. You can record using Playwright Record directly on your browser. Just attach the tabs you want to…

Bug Magnet

4.3

Right-click context menu to help with exploratory testing

BetterBugs: A Fresh Approach to Bug Reporting

4.8

Catch, report and fix bugs faster.

SelectorsHub Pro

5.0

xPath plugin to auto generate, write and verify xpath & cssSelector.

xPath Finder

3.3

Click on any element to get the xPath

TestCraft

3.5

TestCraft - GPT-Powered Test Idea Generator & Automated Test Creator

SelectorsHub

4.8

Locators Plugin to Auto Generate and Verify Playwright Locators, XPath & CSS Selectors.

Playwright POM Generator

5.0

Generate production-ready Playwright Page Object Model files with syntax highlighting

Check My Links

4.2

Check My Links is a link checker that crawls through your webpage and looks for broken links.

Testim Editor

3.8

The simplest and most advanced testing automation tool, using Adaptive Learning and Computer Vision image validation.

Google apps