infiniteScroll and enqueueLinksByClickingElements
Hello Team,
I'm trying to crawl a page that has lazy loaded images (on scroll) and an element on the first page that is a JS event 'button' that expands the pages of "posts" on the page.
I'm trying to use the below code, however, it seems like the request never gets filled, the stats show 'requestsTotal:0'.
I'm trying to target this:
On the first page..so far it seems like this button is only on the first page.
I'm also using preNavigationHooks to read the network requests and store image LINKS only. I don't know if this code should be in preNavigation hooks instead? Not sure. Thanks for your help as always.
1 Reply
vicious-goldOP•2y ago
Ok well one problem is its seconds not milliseconds, so the queue not requesting having to wait, so I've updated that and running a test that is now in progress.
also added method as
playwrightUtils