{"repo":"lila-team/ai-locators","free":true,"listed":false,"github":"https://github.com/lila-team/ai-locators","clone":"git clone https://github.com/lila-team/ai-locators.git","description":"AI Locators for Playwright. Built by the Lila team.","language":"JavaScript","stars":24,"topics":["ai","llm","locators","node","playwright","python"],"license":"MIT","category":"ai-agents","readme_excerpt":"AI Locators for Playwright By AI-powered selectors for Playwright, available for both Python and Node.js. These packages allow you to use natural language descriptions to locate elements on a webpage using LLM (Large Language Model) technology. Why? ai-locators do not require maintenance native integration with Playwright ⚠️ Warning : This package is currently experimental and not intended for production use. It may have: - Unpredictable behavior - Performance overhead from LLM calls - Potential security implications We recommend using it for prototyping and testing purposes only. Supported Models ai-locators works with flagship models for now. Smaller models proved not to be powerful enough for the selector generation task. Model Name Test Badge ------------ ------------ Sonnet 3.5 Sonnet 3.7 GPT-4o Google Gemini 2.0 Flash 001 Meta LLaMA 3.3 70B Instruct Any model with a compatible AI interface can be used with ai-locators, but the models listed above have been thoroughly tested and are known to work well with the package. Node.js Package Installation Usage Python Package Installation Usage Custom Prefix You can customize the prefix used for AI selectors. By default, it's ai= , but you can change it to anything you prefer. In Node.js In Python Plug in your LLM The packages work with any OpenAI-compatible LLM endpoint. You just need to pass model , api key and base url when registering the selector. For example: In Node.js In Python How it works ai-locators uses the custom se","default_branch":null,"files":null,"tree":[],"storefront":"/r/lila-team","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lila-team/ai-locators/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}