message: 240 attempts should not just be 239 :D
diff: @@ -106,7 +106,7 @@ async function waitForPageWithText(
  } catch (error) {
  if (error.message.match(EXPECTED_LOAD_ERRORS)) {
  loadAttempts++;
  - if (loadAttempts > maxLoadAttempts) {
  + if (loadAttempts >= maxLoadAttempts) {
  throw new Error(
  `Failed to load page '${path}', max number of attempts reached`,
  );
  