Closed kpennell closed 5 years ago
meh, I had all sorts of problems but I was selecting wrong, using tab.evaluate wrong, etc.
Hello @kpennell,
Does the targeted website perform any XHR calls when you click on the "load more" button? If so, you could wait until the XHR call finishes instead of waiting for CSS selectors.
Thanks for the response and suggestion. I might have gotten it figured out. @TASnomad
I'm all sorts of stuck and have been for 5-6 hours. I'm trying to open a tab, click a button at the bottom (that loads more items) and then scroll down to load more items via infinite scroll. I'm just stuck as hell. I can't tell whether it's the async/await, selectors, just not following the examples, just not getting nick (script vs tab context). Not sure if anyone is checking this but here goes.
I tried to follow some of your examples (1, 2 3)
Is there some really straightforward way to click a button at the bottom, scroll down a couple times, then extract the items? I get so lost in all the flippin callbacks, args, await/async, bleh. There's just so much complexity at some point.