HackerTrans
TopNewTrendsCommentsPastAskShowJobs

p0deje

no profile record

Submissions

Use LangChain with Codex (ChatGPT) Plus/Pro

github.com
2 points·by p0deje·3 ay önce·0 comments

AI Browser Agent Leaderboard

leaderboard.steel.dev
2 points·by p0deje·3 ay önce·0 comments

Show HN: Alumnium – SOTA Browsing for Claude Code

alumnium.ai
6 points·by p0deje·4 ay önce·0 comments

Show HN: Open-source LLM-powered test automation library for mobile and web

github.com
10 points·by p0deje·geçen yıl·2 comments

The State of Open-Source AI-Powered Test Automation

alumnium.ai
14 points·by p0deje·geçen yıl·2 comments

comments

p0deje
·11 ay önce·discuss
It's a great project. I remember years ago, I suffered from intermittent SSH issues when using Vagrant with AWS, and I ended up writing a plugin[1] to replace `vagrant ssh` with `vagrant mosh`, which fixed most of my disconnects. It's a pity Mosh is not supported widely!

[1]: https://github.com/p0deje/vagrant-mosh
p0deje
·geçen yıl·discuss
It's quite stable on simple applications, but the flakiness definitely increases with more complex apps. I think there is a lot to do to fix it, one idea is to trim the accessibility tree to a narrow region that is relevant, then use it in a prompt. For example, if you want to "sort by price", the LLM doesn't really need to know about anything beyond the filters region of the app.
p0deje
·geçen yıl·discuss
https://github.com/alumnium-hq/alumnium

Keep working on a test automation library that should allow writing browser/mobile tests easier with LLMs help, so I could focus more on testing, and less on automating.
p0deje
·geçen yıl·discuss
> On most pages, we don't need vision, and the DOM alone is sufficient.

I misunderstood looking at demo videos, it seemed like you constantly update elements with borders/IDs so I assumed that's what is then passed to vision.

> Do you have any great resources on where to get started?

A great place to start is https://chromium.googlesource.com/chromium/src/+/main/docs/a....
p0deje
·geçen yıl·discuss
Have you experimented with using text-only models and DOM/accessibility tree for interaction with a ? I'm currently working on the open-source test automation tool (https://alumnium.ai) and the accessibility tree w/o screenshots works pretty well as long as the website provides decent support for ARIA attributes or at least has proper HTML5 structure.
p0deje
·geçen yıl·discuss
> For the 1st point, I generate a script with hashed check points so next run is automated unless something changes in the UI to invoke AI. I make this possible by proxy wrapping playwright library so I can take over every method. Users use playwright like they always have but with one extra method called act.

How would you determine that something changed in UI by just looking at a screenshot? Would you additionally compare HTML/DOM or approximate the two screenshots?

> Omini parser lets you split section of the UI to hash and watch for changes that are relevant.

I wasn't aware, thanks for sharing!

> For 2, can you give some examples?

Specifically, if you take the Shortest tool (https://shortest.com), a test runner powered by Computer Use API, write a test "Validate the task can be pinned" for https://todomvc.com/examples/vue/dist/, and run it — it passes. It should have failed because there is no way to "pin" tasks in the app, yet it pretends that completing the task is the same as pinning.
p0deje
·geçen yıl·discuss
I experimented with Computer Use and even though it's pretty cool, I ended up not using it for 2 main reasons:

1. It's unreasonably expensive. A single test "2+2=4" for a web calculator costs around $0.15. I run roughly 1k tests per month on CI and I don't want to spend $150 on those. The approach I took with Alumnium costs me $4 per month for the same amount of tests.

2. It tries too hard to make the test pass even when it's not possible. When I intentionally introduced bugs in applications, Computer Use sometimes pretended the everything was fine and marked the test passed. Alumnium on the other hand attempts to fail as early as possible.
p0deje
·geçen yıl·discuss
I'm working on Alumnium (https://alumnium.ai). It's an open-source library to simplify web application testing with Selenium/Playwright.

I aim to create a stable and affordable tool that allows me to eliminate most of the support code I write for web tests (page objects, locators, etc.) and replace it with human-readable actions and assertions. These actions and assertions are then translated by an LLM into browser instructions. The tool, however, should still leverage all existing infrastructure (test runner, CI/CD, Selenium infrastructure).

So far, it's working well on simple websites (e.g., a calculator, TodoMVC), and I'm currently working on scaling it to large web applications.