Skip to content

Commit

Permalink
Improve image loading waiting for network idle
Browse files Browse the repository at this point in the history
  • Loading branch information
franrou committed Jun 25, 2024
1 parent 6b11810 commit 6dcfa8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,7 @@ module.exports = async (page, scenario, config) => {
return true;
});
});

// Wait for assets to load.
await page.waitForNetworkIdle();
}

0 comments on commit 6dcfa8f

Please sign in to comment.