โŒšWaiting for requests

By default, Puppeteer tells the browser to not wait for all the requests to be ran. Sometimes, you might want to wait for all of the requests to be ready:

$clusteer = Clusteer::to('https://example.com')
    ->waitUntilAllRequestsFinish()
    ->withHtml()
    ->get();

If you want to see the triggered requests, call withTriggeredRequests():

$clusteer = Clusteer::to('https://example.com')
    ->waitUntilAllRequestsFinish()
    ->withTriggeredRequests()
    ->get();
$requests = $clusteer->getTriggeredRequests();

Last updated