Xpathsense – Ai Web Eleme
✨ AI-Powered View on Chrome Web StoreChrome will indicate if you already have this installed.
Overview
XPathSense – AI Web Element Scanner
Product Overview
XPathSense is an AI-powered web element scanner and XPath generator designed to streamline web automation testing. It helps QA engineers, automation testers, and developers quickly extract, validate, and improve XPath expressions from any webpage, then export production-ready test code for popular automation frameworks.
Key Features
Intelligent Page Scanning
1.Automatically scans web pages to detect all interactive elements (buttons, inputs, links, dropdowns)
2.Includes disabled elements and framework-specific components (Angular, React, Material UI, etc.)
3.Filters out decorative and non-functional elements
4.Organizes detected elements by category with labels, tags, and match counts
Capture XPath Mode
1.Toggle ON to activate element picker mode
2.Click any element directly on the webpage to instantly capture its XPath
3.Works without requiring an API key
4.Perfect for quick, targeted XPath extraction
Manual XPath Builder
1.Type or paste custom XPath expressions
2.Real-time validation with match counting
3.Navigate through multiple matches with previous/next controls
4.Autocomplete suggestions for XPath axes and functions
5.Visual feedback for valid/invalid XPaths
AI-Powered XPath Enhancement
1.Improve XPaths using Google Gemini or OpenAI
2.Generates more stable, readable, and maintainable XPath expressions
3.Provides confidence scores and improvement suggestions
4.Accept, reject, or revert AI suggestions with ease
5.Custom prompt support for specific requirements
Multi-Framework Code Export
1.Export to Java + Selenium (Page Object Model)
2.Export to Playwright + TypeScript
3.Export to Cypress + JavaScript
4.Export to Python + Selenium
5.Export to Robot Framework
6.Generates production-ready Page Object files with:
7.Proper class structure
8.Locator definitions
9.Interaction methods
10.Best practices implementation
User-Friendly Interface
1.Interactive tour guide for first-time users
2.Toast notifications for all status messages
3.Collapsible element lists for better organization
4.Select all/bulk operations
5.Clean, modern DevTools panel design
How to Use
Access the Extension:
1.Open Chrome DevTools (F12), navigate to the "Elements" tab, and find the XPathSense panel in the side panel area.
Initial Setup (Optional):
1.Choose your AI provider (Google Gemini or OpenAI)
2.Enter your API key (Gemini keys are free to generate)
3.Or skip to use basic features without AI
Scan Elements:
1.Click "Scan Page" to automatically detect all interactive elements
2.Review the organized list of detected elements
3.Select elements you need by checking boxes
Capture XPaths:
1.Toggle ON "Capture XPath Mode"
2.Click any element on the webpage to instantly capture its XPath
3.XPath is automatically added to your list
Build Manually:
1.Use the Manual XPath Builder to type custom XPath expressions
2.Validate to check matches and navigate through results
3.Add validated XPaths to your list
4.Enhance with AI (requires API key):
5.Click "Generate with AI" on any XPath
6.Review AI suggestions with confidence scores
7.Accept improved XPaths or revert to original
Export Test Code (requires API key):
1.Select your target framework from the dropdown
2.Click "Export" to generate Page Object files
3.Download production-ready test code
Who Can Use This
1.QA Engineers: Quickly generate XPaths for test automation scripts
2.Automation Testers: Extract reliable locators for Selenium, Playwright, or Cypress tests
3.Developers: Build and validate XPath expressions for web scraping or automation
4.Test Automation Teams: Generate consistent, maintainable Page Object Model code
5.Anyone working with web element identification: Simplify the XPath creation process
Privacy & Security
Data Handling
1.API Key Storage: Your API key is stored securely in your browser's local storage only. It is never transmitted to any server except the selected AI provider (Gemini or OpenAI) for API calls.
Data Transmission
1.AI Processing: When using "Generate with AI" or "Export" features, HTML snippets of the selected elements are sent to your chosen AI provider (Gemini or OpenAI) for processing.
2.No Data Storage: The extension does not store, log, or retain any webpage data, HTML content, or XPath information on external servers.
3.No Training Data: Data sent to AI providers is used solely for generating XPath suggestions and test code. It is not used for AI model training.
Security Best Practices
1.Local Processing: All XPath generation, validation, and element scanning happens locally in your browser.
2.Secure API Communication: All API calls use HTTPS encryption to your selected AI provider.
3.No Background Data Collection: The extension only processes data when you explicitly use AI features or export functionality.
Recommendations
1.Confidential Data: Avoid using AI features on pages containing confidential, sensitive, or proprietary information, as HTML snippets will be sent to the AI provider.
2.API Key Security: Keep your API key secure and do not share it. You can log out (clear the key) at any time using the logout button.
3.Code Review: Always review and test AI-generated XPaths and exported code before using in production environments.
Support
For issues, questions, or feature requests, please refer to the built-in tour guide (click the "?" button in the header) or contact support through the extension's developer page.
Tags
Privacy Practices
🔐 Security Analysis
This extension hasn't been security-scanned yet.