Earlier quoted context omitted.
Selectors have been our primary focus so far – they're notoriously finicky! Our roadmap includes more extensive use of AI, both as embedded intelligence, and in the code generation process. For example, one thing we've heard from heavy users of browser automation is that maintenance becomes the largest cost. Self-healing automations will be able to either fix themselves, our give you an alert with a suggested fix to…
So I assume the video is the ground-truth, then the AI has access to the DOM and the video, and generates a selector based on the video during the test run (each time) in order to do avoid flakiness due to DOM/class/attribute changes?
Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
71–80 of 131 posts
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#72Earlier quoted context omitted.
Playwright is another, really good alternative
It is, but the selector issues are the same. (though it does make it much easier to execute scripts in the context of the page when standard selectors don't work)
I disagree. Playwright's locators are pretty powerful compared to standard css/xpath selectors.
For example it includes layout based selectors.
https://playwright.dev/docs/other-locators#css-matching-elem...
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#73For example, add to cart, if the LLM detect it's out of stock (a rule), then do some other action.
What's the possibility of LLM-reinforced, rules based branching logic like this being possible with your software in the future?
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#74Related: https://playwright.dev/ has a built-in code generator. In *my opinion*, it's also more pleasant to work with than Selenium.
Interesting, what features are most impactful in making it more pleasant to work with? We picked Selenium because it seems much more widely used at least in the Python world (selenium has about 10x more downloads on PyPI than playwright). My guess is that's at least partly because Playwright is more focused on the JS/TS ecosystem and testing.
Selenium is quite outdated, though still widely used. It's much older. I would look at downloads over time / rate of change, not total downloads.
My hot take- don't hook yourselves to outdated tech.
Don't take my word for it- go try out selenium, Cypress, and playwright and draw your own conclusions.
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#75I'd love if it could output Playwright code as well. I haven't tried it but if this works well it's a great concept!
Good to know! The comments have definitely made us update towards looking into Playwright again quite seriously
If you can be playwright for automation instead of testing - that'd be a biiiig market. Lot's and lot's of scrapers out there and it's a market microsoft is not interested in.
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#76What would make this maximally useful is if an LLM with a ruleset would be available to parse and act on dynamic situations on pages. For example, add to cart, if the LLM detect it's out of stock (a rule), then do some other action. What's the possibility of LLM-reinforced, rules based branching logic like this being possible with your software in the future?
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#77Why is logging into Google a requirement?
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#78What would make this maximally useful is if an LLM with a ruleset would be available to parse and act on dynamic situations on pages. For example, add to cart, if the LLM detect it's out of stock (a rule), then do some other action. What's the possibility of LLM-reinforced, rules based branching logic like this being possible with your software in the future?
Couldn’t agree more! Working on this actively. Interesting questions include 1) what format is most effective for the user to convey their intent (maybe not point & click) and 2) how to represent the model output such that it is auditable and editable.
I suggest a Discord group for Autotab to start building up a community! Looking forward.
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#79Hey, it looks very neat. I was wondering if Autotab currently supports logging into websites that require 2FA. (Your readme mentions Google only.)
Hey, we're looking to build out our library of authentication plugins. Many websites offer "Sign in with Google" which makes things easier, you can just specify that in the autotab.yaml file. If you have a specific website in mind, I'd be happy to add support for it!
Re: Show HN: Autotab – An AI-powered Chrome extension to create Selenium scripts
#80By the looks of it, I am taking a slightly different approach than you. I am using LLM only to identify elements, but the actual generators are created using https://ray.run/browser-extension