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

Locator Labs - Playwright & Selenium Locator Generator

5.0(

37 ratings

)
ExtensionDeveloper Tools977 users
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.4.0: - πŸ”— **Chained Locators**: Smart parent β†’ child locator strategies - 🎯 **Improved Highlighting**: Accurately highlights target elements in chains - ✨ **Enhanced Semantic Support**: `.getByRole()`, `.getByLabel()` in chains - πŸ› **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) 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) 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 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) πŸ’‘ 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.4.0
  • Updated
    November 3, 2025
  • Offered by
    Naveen Automation Labs
  • Size
    185KiB
  • 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
Google apps