rival-black•15mo ago
Puppeteer waitForResponse in a loop. Is it possible?
Basically my code looks something like this. I click the load more button and want to grab ajax api call response data. It works only on the first try, then it just fails, due to waitForResponse never getting the response
Am I missing something?
1 Reply
Probably click not doing anything - try to debug at localhost with headfull browser, see if new data actually loaded in browser on second click