79479067

Date: 2025-03-02 12:15:12
Score: 1
Natty:
Report link

used doberkofler's solution and then realised I could do the following:

if (page.frames().length > 0) {
  await Promise.all(
    page.frames().map((frame) => frame.waitForLoadState("networkidle"))
  );
}

I know this doesn't explicitly wait for a given URL but the two solutions could be combined

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mearman