JsDom Selector Issue


The same code is working on the browser but not working on jsdom, can anyone explain?

what does it mean that it is not working? what happens when it is working? what’s the difference?

document.querySelectorAll('a[title^="Share"]') When I run this code on the browser console its giving me the nodelist but when in the node js it is not giving me the node list but other selector is working in node js.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.