flexysnap 0.4.2 → 0.4.3
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/package.json +1 -1
- package/src/testUtils.js +2 -2
package/package.json
CHANGED
package/src/testUtils.js
CHANGED
|
@@ -9,10 +9,10 @@ async function callClosePopups(page) {
|
|
|
9
9
|
async function gotoWithRetry(page, url) {
|
|
10
10
|
try {
|
|
11
11
|
logTimestamp('Loading ' + url);
|
|
12
|
-
await page.goto(url, { timeout: 30_000, waitUntil: "
|
|
12
|
+
await page.goto(url, { timeout: 30_000, waitUntil: "commit" });
|
|
13
13
|
} catch (firstError) {
|
|
14
14
|
logTimestamp('Retry loading ' + url);
|
|
15
|
-
await page.goto(url, { timeout: 30_000, waitUntil: "
|
|
15
|
+
await page.goto(url, { timeout: 30_000, waitUntil: "commit" });
|
|
16
16
|
}
|
|
17
17
|
await waitForCompleteLoad(page)
|
|
18
18
|
}
|