browserclaw 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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1827,7 +1827,7 @@ async function createPageViaPlaywright(opts) {
|
|
|
1827
1827
|
ensurePageState(page);
|
|
1828
1828
|
if (targetUrl !== "about:blank") {
|
|
1829
1829
|
const navigationPolicy = withBrowserNavigationPolicy(policy);
|
|
1830
|
-
const response = await page.goto(targetUrl, { timeout: normalizeTimeoutMs(void 0, 2e4) });
|
|
1830
|
+
const response = await page.goto(targetUrl, { timeout: normalizeTimeoutMs(void 0, 2e4) }).catch(() => null);
|
|
1831
1831
|
await assertBrowserNavigationRedirectChainAllowed({ request: response?.request(), ...navigationPolicy });
|
|
1832
1832
|
await assertBrowserNavigationResultAllowed({ url: page.url(), ssrfPolicy: policy });
|
|
1833
1833
|
}
|