I\'m using \'puppeteer\' for NodeJS to test a specific website. It seems to work fine in most case, but some places it reports:
Error: Node is either not
I know I’m late to the party but I discovered an edge case that gave me a lot of grief, and this thread, so figured I’d post my findings.
The culprit: CSS
scroll-behavior: smooth
If you have this you will have a bad time.
The solution:
await page.addStyleTag({ content: "{scroll-behavior: auto !important;}" });
Hope this helps some of you.