I am not able to get all querySelectorAll items.
If I save txt and do similar in browser's DevTools, having way more for example for 1st 2 links:
document.querySelectorAll(".product-layer-content");
NodeList(120) ...
document.querySelectorAll(".product-layer-content");
NodeList(118) ...
Strange is following pageDOM.querySelectorAll(".product-actions") get right number, but parentNode seems to be body ??
Anyway W3 validator shows mismatched elements :-(
I am not able to get all querySelectorAll items. If I save txt and do similar in browser's DevTools, having way more for example for 1st 2 links: document.querySelectorAll(".product-layer-content"); NodeList(120) ... document.querySelectorAll(".product-layer-content"); NodeList(118) ... Strange is following pageDOM.querySelectorAll(".product-actions") get right number, but parentNode seems to be body ?? Anyway W3 validator shows mismatched elements :-(
https://sortiment.makro.cz/cs/cerstve-chlazene/7068c/?inactionforce=1&p=1&view_price=s Processing 50 items. https://sortiment.makro.cz/cs/cerstve-chlazene/7068c/?inactionforce=1&p=2&view_price=s Processing 30 items.