Live data from Hacker News

Show HN: I created a browser automation tool

rocketride.io

51–56 of 56 posts

Re: Show HN: I created a browser automation tool

#51

Earlier quoted context omitted.

It uses a combination of xpaths that are like body[1]div[2]div[1]p[2]button[1] so if you edit the UI it'll break, or worst case they do X,Y coordinates of clicks on a page so if the UI changes it'll break. Sometimes it'll get your ID or Name or whatever but some frameworks randomize these on compilation and some devs change them as part of refactoring. Best practice is to add test attributes to the HTML elements (suc…

It detects the data-testid attribute quite well. We use it at work in replacement of manually creating cypress scripts.

That’s good to know, I had bad luck with it then. But even so, you also lost the ability to use testing patterns like the page object model where you can update changing IDs or flows more easily - if something changes drastically early in the recording, wouldn’t it need to be re-recorded for all test cases?

Re: Show HN: I created a browser automation tool

#54
post #30

Curious what your pricing strategy is here? The free offering is cool for sure. Guess you'll learn how serious users may want to actually use the service, what that means for your unit costs, and how it all scales in your favor? or sort of already figured that out?

Not sure if you’re asking about Author’s long term pricing strategy but the tiered pricing is on the site

more about how the author came up with the pricing and if/how they developed projections around it. There also wasnt a custom offering, so was wondering why not and if the author felt it wouldnt be financially effective.

Re: Show HN: I created a browser automation tool

#55
post #32
post #10

Earlier quoted context omitted.

I just started using a Selenium IDE + selenium-side-runner for headless automation. Is puppeteer or Selenium a more widely supported tool?

Selenium is more widespread but I recommend Playwright as the most modern automation library. Comes with plugins for making your automations more... nimble.

Thank you - I'll try it out.

Re: Show HN: I created a browser automation tool

#56
post #10

Earlier quoted context omitted.

I just started using a Selenium IDE + selenium-side-runner for headless automation. Is puppeteer or Selenium a more widely supported tool?

Selenium is the most popular tool in the industry but mostly for legacy reasons, its real competitor is Cypress. If you've just started a project I'd recommend checking it out, a huge time saver is that you install it as an npm package with a headless browser out the box without any webdriver/infra stuff slowing you down.

Thank you - I'll check it out.
Post reply on HN