News for hackers. Stuff that matters.

elb-alexander

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.