News for hackers. Stuff that matters.
Re:Show HN: Walker.js – open-source, vendor-agnostic autotra... by egfx on Thursday June 30, 2022 @12:31PM (#31934947)
Is this purely for analytics and listening for events? I would like the opposite, walking through an event list to mechanize UI on the frontend without an extension or from node (just via a front-end script tag). I bookmarked something like this once.
Re:Show HN: Walker.js – open-source, vendor-agnostic autotra... by elb-alexander on Thursday June 30, 2022 @12:51PM (#31935246)
We focus on analytics, yes. But you can also achieve your goal with it as far as I understood. Once you've described a page you can work with selectors pretty well.

document.querySelector('[data-elb="product"][data-elbaction="click:add"]').click();

Also good to test correct implementations with Selenium e.g. It's way more robust than working with CSS classes. Just work with the attribute selectors.

Re:Show HN: Walker.js – open-source, vendor-agnostic autotra... by bredren on Thursday June 30, 2022 @04:36PM (#31938240)
Could you describe one or more Event sequences you would mechanize / script in this way and why?

Curious to understand more about the use case you’re describing.

Re:Show HN: Walker.js – open-source, vendor-agnostic autotra... by egfx on Thursday June 30, 2022 @05:42PM (#31939011)
it's complicated ;) Why do you think you can help?