{"repo":"vertexcover-io/locatr","free":true,"listed":false,"github":"https://github.com/vertexcover-io/locatr","clone":"git clone https://github.com/vertexcover-io/locatr.git","description":"Find locators for UI elements in web applications using natural language.","language":"Go","stars":10,"topics":["dom","golang","llm","openai","playwright","testing"],"license":"MIT","category":"ai-agents","readme_excerpt":"Locatr Find locators for UI elements in web applications using natural language. TOC - Plugin Support - Usage - Initialize an automation plugin - Playwright - Selenium - Appium - Create a Locatr instance - With a custom LLM client - With a custom reranker client - With a custom mode - With cache enabled - Locate an element - Calculate the total cost - Highlight the locator Plugin Support The following table shows the supported modes for each automation plugin. Plugin DOM Analysis Visual Analysis ------------ ------------- ----------------- Playwright ✅ ✅ Selenium ✅ ✅ Appium ✅ ⚠️ Experimental Usage Initialize an automation plugin of your choice. Playwright Set up a Playwright page Selenium Note: Make sure to use --force-device-scale-factor=1 flag when creating the driver for visual analysis mode to work correctly. Set up a Selenium driver Appium Create a Locatr instance By default, anthropic's claude-3-5-sonnet-latest LLM and cohere's rerank-english-v3.0 reranker are used. With a custom LLM client With a custom reranker client --- With a custom mode By default, mode.DOMAnalysisMode is used. With cache enabled Locate an element Calculate the total cost of the completion Highlight the locator","default_branch":null,"files":null,"tree":[],"storefront":"/r/vertexcover-io","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vertexcover-io/locatr/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."}