4 ms·
>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
by Sil_E_Goose 6y ago
>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.
- yaseer 6y agoInteresting! 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.
- tnolet 6y agoCheck out Headless Recorder. It records browser interactions and generates Puppeteer and Playwright scripts. https://github.com/checkly/headless-recorder https://github.com/checkly/headless-recorder
- yaseer 6y agoSo 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.
- dominathan917 6y agoAs 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.
- gvkhna 6y agoWe’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?
- zild3d 6y agofor anyone else about to go down the e2e testing road - I recommend checking out cypress.io
- yaseer 6y agoFunnily 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.
- loh 6y agoI 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 https://github.com/testfront-io/testfront-devtools See also https://www.testfront.io/ 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 https://www.youtube.com/watch?v=ifkaptIYeL8