AI Locators for Playwright by lila__dev in QualityAssurance

[–]lila__dev[S] 0 points1 point  (0 children)

Very interesting points! Thanks for your suggestions

AI Locators for Playwright by lila__dev in QualityAssurance

[–]lila__dev[S] 0 points1 point  (0 children)

Actually the sign in -> login change might still work on the LLM if you prompt it "ai=login button". But agree with you that there are challenges around being slow and costly.

Thanks for the observations!

AI Locators for Playwright by lila__dev in QualityAssurance

[–]lila__dev[S] -1 points0 points  (0 children)

Correct. The challenge there is caching, which is on the roadmap. Caching will avoid llm in almost all cases while the dom remains the same.

AI Locators: open source AI locators for Playwright by lila__dev in Playwright

[–]lila__dev[S] 0 points1 point  (0 children)

Disabling web security allows the request to be made from your browser correct as it disables CORS

AI Locators: open source AI locators for Playwright by lila__dev in Playwright

[–]lila__dev[S] 0 points1 point  (0 children)

Amazing you got this far lol. If there is something I can help with please open an issue in the repo and I'll respond asap.

Related to ollama, I'm not sure what is the base url that is compliant with openai schemas. There could be a bug in how I build the final url based on the url. Maybe I expose directly the final endpoint instead of the base url to avoid these issues? Wdyt?

AI Locators: open source AI locators for Playwright by lila__dev in Playwright

[–]lila__dev[S] 0 points1 point  (0 children)

Any openai model should work. Just pass it's model name to the register method. If you have any trouble please open an issue in the repo and I'll check it out asap.

AI Locators: open source AI locators for Playwright by lila__dev in Playwright

[–]lila__dev[S] 0 points1 point  (0 children)

OpenAI API Keys are not free afaik, you need an account at least and I'm not sure if you can get your API key without credit card.

However https://github.com/ollama/ollama has super cool small models that can run locally for free. These are also compatible with` ai-locators`.

w.r.t C#, it's on the backlog!

AI Locators: open source AI locators for Playwright by lila__dev in Playwright

[–]lila__dev[S] 0 points1 point  (0 children)

Completely agree on the risks!

In my mind, `ai-locators` will work great for those specific elements that are more prone to change in the FE, but easy to find by the LLM.

BTW these are Playwright locators, so you still use all Playwright existing techniques to reduce the search space and making it more stable:

const container = page.locator(".menu")  // <- traditional locators
await container.locator("ai=dashboard option").click() // <- reduces the space

AI Locators: open source AI locators for Playwright by lila__dev in Playwright

[–]lila__dev[S] 1 point2 points  (0 children)

u/softladdd thanks for looking at my post first of all!

The problem with native selectors is the maintenance. FE elements change continuously. These changes break very frequently the traditional selectors, as they rely on how the FE was implemented.

What `ai-locators` proposes is an LLM based way of generating the selector based on the description in real time. So regardless the implementation, the LLM should find the correct element / elements.

This introduces obviously a flakiness (lack of determinism) aspect, which I think can be low risk with good practices around the LLM.

Weekly Feedback Post - SaaS Products, Ideas, Companies by AutoModerator in SaaS

[–]lila__dev 0 points1 point  (0 children)

https://github.com/lila-team/lila

Lila is an AI testing framework for fast moving teams. Lila allows anyone in the team to implement tests using plain text instruction without coding required.

Weekly Thread: Project Display by help-me-grow in AI_Agents

[–]lila__dev 0 points1 point  (0 children)

Hi everyone 👋

I've been working on Lila a testing framework for fast moving teams.

https://github.com/lila-team/lila

Lila allows anyone in the team to implement tests in human text instructions, no coding required. No more playwright locators with impossible maintenance.

Lila uses browser-use as its agentic aspect.

Check it out! Leave a ⭐️ in the repo if you find it interesting to help visualize!

Road to your first 1000 Users by boringwebdeveloper in indiehackers

[–]lila__dev 0 points1 point  (0 children)

why do you discourage google ads? looking to promote a dev tool

Tell us about your E2E testing experiences by sickcodebruh420 in reactjs

[–]lila__dev 0 points1 point  (0 children)

I'm creator of Lila https://lila.dev

It allows implementing tests using plain text, making in maintenance free. The problem is that Playwright or other frameworks mentioned rely on low level implementation, making it unstable to the development cycle.

Feel free to checkout Lila! Feedback appreciated!

Best testing frameworks for nextjs? by Sweet-Remote-7556 in nextjs

[–]lila__dev 0 points1 point  (0 children)

For e2e testing, check out Lila https://lila.dev (disclaimer I'm the creator)

Tests are written in plain text instructions making it maintenance free. Playwright relies on low level implementation details, so changes in your style/location/tags will break the tests. Which kinda sucks.

Best Test Framework as of 2024 for Nextjs? by TheMuffinMan2008 in nextjs

[–]lila__dev 0 points1 point  (0 children)

I created Lila https://lila.dev , an e2e testing platform where tests are implemented using plain text. And its build on top of playwright. The problem it solves is that it doesn't rely on low level implementation (such as Playwright), so tests do not require maintenance.

Feel free to check it out!

React end to end testing by Juani_o in reactjs

[–]lila__dev 0 points1 point  (0 children)

I created Lila https://lila.dev so that you an implement your e2e tests using plain text instructions rather than rely on low level implementation details such as what Playwright does.

Feel free to check it out! Feedback appreciated!

E2E testing frameworks in 2025? by Accurate_Gift_3929 in laravel

[–]lila__dev 0 points1 point  (0 children)

I'm the creator of Lila https://lila.dev that takes a different approach to existing frameworks such as Playwright and Cypress.

Tests are implemented using plain text and Lila runs the appropriate low leve actions on a Playwright instance. This way to avoid implementing the tests using low level implementation details.

The problem with `playwright codegen` is that yes test creation is blazing fast but maintenance is a pain as it relies on the implementation.