GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jogonzal79/best-locator: Universal selector generator for UI testing frameworks

BranchesTags
Open more actions menu

Latest commit

 

History

161 Commits
161 Commits

Folders and files

NameName
Last commit message
Last commit date
scripts
scripts
 
 
src
src
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
best-locator.config.json
best-locator.config.json
 
 
jest.config.js
jest.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Best-Locator

AI-powered selector generator with framework-aware intelligence for seamless cross-platform testing.

NPM Downloads Version GitHub Stars

Navigate organically, capture selectively, test intelligently.


🚀 Quick Start

# Install and start in 30 seconds
npm install -g bestlocator && npx playwright install

# Web: Professional toggle mode with React intelligence
bestlocator pick-toggle https://your-app.com --ai --stack react

# Mobile: Visual inspector for apps  
bestlocator mobile-inspector app.apk android

✨ Why Choose Best-Locator?

🏗️ Framework-Aware Intelligence (Industry First)

Generates React-optimized getByTestId() instead of fragile CSS classes. Supports React, Vue, Angular, ASP.NET, and more.

🎛️ Professional Toggle Mode

Cross-page sessions let you navigate login flows and capture elements across multiple pages in one workflow.

📱 Web + Mobile

Same intuitive workflow for web apps and mobile apps. Visual mobile inspector at localhost:8100.

🧠 AI-Enhanced

Hybrid AI (GPT-4/Ollama) + rules for reliable, semantic selectors with explanations.


🆚 vs. Competition

Feature Best-Locator Others
Framework-Aware ✅ React/Vue/Angular ❌ Generic CSS
Cross-Page Sessions ✅ Login flows ❌ Single page
Mobile Apps ✅ Visual inspector ❌ Web only
AI-Powered ✅ Context-aware ❌ Rule-based

🛠️ Framework & Platform Support

Category Supported
Web Frameworks Playwright, Selenium, Cypress, TestCafe, WebdriverIO
Mobile Platforms Android, iOS (via Appium)
Languages JavaScript, TypeScript, Python, Java, C#
Technology Stacks React, Vue, Angular, ASP.NET, Svelte, Lit, Vanilla JS

📚 Documentation

Getting Started Advanced Development
Installation & Setup Framework-Aware Guide Development Guide
Basic Usage Mobile Inspector Testing Guide
Troubleshooting AI Configuration Architecture

📖 Complete Wiki • 🐛 Issues • 💬 Discussions


💡 Professional Use Cases

# E-commerce: Navigate checkout flow, capture all form elements
bestlocator pick-toggle https://shop.com --stack react --ai

# Enterprise: Multi-page admin workflow with Angular
bestlocator pick-toggle https://admin.com --stack angular --ai

# Mobile: Visual testing without DOM inspection
bestlocator mobile-inspector banking-app.apk android

⚡ Quick Commands

bestlocator hello                    # Verify installation
bestlocator init                     # Create config file
bestlocator ai-test                  # Test AI providers
bestlocator pick <url> --stack react # Quick selector

📄 License

MIT License © Jonathan Gonzalez

🚀 Get Started • ⭐ Star this repo • 📚 Read the Docs

About

Universal selector generator for UI testing frameworks

bestlocator.netlify.app/

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.