@skrillex1224/playwright-toolkit 2.1.162 → 2.1.163

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -631,7 +631,7 @@ async function createApifyKit() {
631
631
  logger2.success(`[RetryStep] before \u94A9\u5B50\u5B8C\u6210`);
632
632
  } else if (retryMode === "refresh") {
633
633
  logger2.start(`[RetryStep] \u5237\u65B0\u9875\u9762 (\u7B2C ${attemptNumber} \u6B21\u91CD\u8BD5)`);
634
- await page.reload({ waitUntil: "domcontentloaded" });
634
+ await page.reload({ waitUntil: "commit" });
635
635
  logger2.success(`[RetryStep] \u9875\u9762\u5237\u65B0\u5B8C\u6210`);
636
636
  } else {
637
637
  logger2.start(`[RetryStep] \u7B49\u5F85 3 \u79D2 (\u7B2C ${attemptNumber} \u6B21\u91CD\u8BD5)`);
@@ -1695,7 +1695,7 @@ var Launch = {
1695
1695
  }
1696
1696
  const onPageCreated = (page) => {
1697
1697
  const recommendedGotoOptions = {
1698
- waitUntil: "domcontentloaded"
1698
+ waitUntil: "commit"
1699
1699
  };
1700
1700
  if (page && typeof page.on === "function") {
1701
1701
  trafficMeter2.attachPage(page);