概述
Discover our extension built to generate XPath, CSS, Playwright, and Haka Engine locators that will help you automate tests up to 70% faster with fewer failures.
WHAT IS HAKA PATH?
Haka Path is a powerful browser extension that revolutionizes the way you generate locators for your test automation projects. With just a few clicks, this tool creates precise, ready-to-use locators that work across all major automation frameworks — significantly speeding up your workflow. 💻
One of the standout features of Haka Path is its ability to generate multiple locator alternatives across different strategies: XPath, CSS, semantic (role, label, text, testId), relative (above, below, near), and framework-native formats. This gives you flexibility and precision in your automation testing, drastically reducing the time needed to build locators and allowing you to focus on what matters.
AI-POWERED LOCATOR GENERATION
With support for Chrome Built-in AI (Gemini Nano), OpenAI, Claude, and Google Gemini, HakaPath generates intelligent locators using artificial intelligence. Chrome AI works 100% locally without sending data to external servers. External providers offer higher precision for complex elements.
DEDICATED PLAYWRIGHT & HAKA ENGINE TAB
A dedicated tab generates all valid Playwright locators: page.locator() with ID, CSS, XPath, aria-label, name, type, placeholder, data-testid, formcontrolname — plus native page.get_by_role(), get_by_label(), get_by_placeholder(), get_by_text(), get_by_test_id(), and more. When configured for Haka Playwright Engine, locators are output directly in JSON POM format ready to paste into your project files.
FEATURES
• Integrates natively into Google Chrome and Microsoft Edge.
• XPath, CSS, Semantic, Relative, and Playwright locator generation using optimized algorithms.
• Dedicated Playwright tab with page.locator() and page.get_by_*() methods.
• Haka Playwright Engine mode — outputs JSON POM format with intelligent key naming.
• DOM match count badge per locator (green = unique, orange = multiple, red = none).
• Multi-provider AI support (Chrome Built-in AI, OpenAI, Claude, Google Gemini).
• Modern borderless UI with dark/light theme.
• Live preview with element highlighting on hover.
• Real-time locator validation.
• Available in Spanish and English.
WHAT DOES IT DO?
• Generates up to 6 locators per element (3 XPath + 3 CSS) using optimized local algorithms and AI.
• Playwright tab generates 10+ framework-native locators per element.
• Haka Engine mode outputs locators in JSON POM format for direct use in your projects.
• Semantic locators: getByRole, getByLabel, getByText, getByPlaceholder, getByTestId.
• Relative locators: above, below, near, toLeftOf, toRightOf.
• Shows instant match count per locator so you know if it's unique before using it.
• Preserves a history of up to 30 generated locators for later consultation or reuse.
• Generates Page Object Model (POM) code ready for your preferred framework and language.
• Allows downloading locator history in multiple file types.
• Copy with one click — visual check confirmation, no popups interrupting your flow.
BENEFITS
• Locator generation up to 70% faster than manual approaches.
• Multiple locator strategies in one place: XPath, CSS, Semantic, Relative, and Playwright-native.
• Haka Engine JSON POM output — copy and paste directly into your test framework.
• Match count per locator — instantly know if your selector is unique.
• Multi-provider AI for smarter locator generation, either locally or in the cloud.
• Total privacy with Chrome Built-in AI — works locally without external data transfer.
• POM generation for all supported frameworks with a single click.
• Modern interface with dark mode, borderless design, and live element preview.
Home: https://hakalab.com/hakapath/
Learn more about Haka Lab at: https://hakalab.com
来自商店的评价 (0)