News for hackers. Stuff that matters.
Re:Launch HN: Axiom (YC W21) – No-code browser automation a.... by Sil_E_Goose on Wednesday March 03, 2021 @11:27AM (#26330598)
>using Axiom is 10X faster than writing it in selenium/puppeteer + we handle all the annoying logic you need. We're investigating a node library for this - let us know if it would be useful.

As someone who has recently started working with puppeteer, I definitely think a library to alleviate that pain would be immensely valuable.

Re:Launch HN: Axiom (YC W21) – No-code browser automation a.... by yaseer on Wednesday March 03, 2021 @11:34AM (#26330706)
Interesting!

If any puppeteer developers would also find it useful, let us know - it's always good to know something is wanted before you make it.

Re:Launch HN: Axiom (YC W21) – No-code browser automation a.... by tnolet on Thursday March 04, 2021 @02:45AM (#26339785)
Check out Headless Recorder. It records browser interactions and generates Puppeteer and Playwright scripts.

https://github.com/checkly/headless-recorder

Re:Launch HN: Axiom (YC W21) – No-code browser automation a.... by yaseer on Thursday March 04, 2021 @05:44AM (#26340870)
So what I'm suggesting is slightly different.

This outputs a series of clicks and keyboard events. It doesn't handle the logic necessary for most JS-heavy web-apps.

Scraping an infinite scroll is a good example. A naive algorithm is - scroll, wait, scrape, scroll, wait, scrape...

We have a slightly more sophisticated algorithm to deal with this. Also, what happens when you encounter a page with multiple iframes?

I'm essentially talking about a library which works with higher-level abstractions than just click and type, perhaps 'ScrapeInfiniteScroll' - and similar operations.

Re:Launch HN: Axiom (YC W21) – No-code browser automation a.... by dominathan917 on Wednesday March 03, 2021 @11:52AM (#26331024)
As a developer about to go down the e2e testing pipeline for our new products and chosen puppeteer, I would also be very interested in this.
Re:Launch HN: Axiom (YC W21) – No-code browser automation a.... by loh on Wednesday March 03, 2021 @05:26PM (#26335651)
I always hated writing e2e tests (tools like Cypress just didn't cut it for me), so I put this together a while back (it's open source, MIT licensed): https://github.com/testfront-io/testfront-devtools

See also https://www.testfront.io/ for an actual description of how it works, but don't bother signing up. I'm really bad at marketing/getting the word out, and google took forever to approve the extension so I lost interest/ran out of money. Maybe if others show interest, I'll be motivated to resume the plans I had for it.

Here's a 4 minute video of it in action, covering every user join/login/update possibility: https://www.youtube.com/watch?v=ifkaptIYeL8

Re:Launch HN: Axiom (YC W21) – No-code browser automation a.... by zild3d on Wednesday March 03, 2021 @01:19PM (#26332361)
for anyone else about to go down the e2e testing road - I recommend checking out cypress.io
Re:Launch HN: Axiom (YC W21) – No-code browser automation a.... by yaseer on Wednesday March 03, 2021 @01:37PM (#26332564)
Funnily enough, the first axiom prototype we sold customers was on cypress.io - I liked it!

We switched it out for puppeteer as it was more suited as a library for our-case. Cypress is a great batteries-included E2E solution though.

Re:Launch HN: Axiom (YC W21) – No-code browser automation a.... by gvkhna on Wednesday March 03, 2021 @12:09PM (#26331315)
We’re building this at Superadmin, specifically for e2e tests. We’re a little bit early but would love to collect feedback. Can we get you in as an early user?