I'm new to node.js and puppeteer and I was trying to find a way to scroll to the end of a playlist to scrape song names and artists. I've tried the top answer from this question: Puppeteer - scroll down until you can't anymore
which worked for a site like google but was ineffective for spotify.
I've tried code like window.scrollBy()
but I have a hunch that the scrollbar is created from javascript and I can't think of a way to display more of the playlist.
here's an example playlist that lazy loads https://open.spotify.com/playlist/37i9dQZF1DWWQRwui0ExPn