This commit is contained in:
yanlong.wang 2024-04-10 19:57:00 +08:00
parent b46e859a30
commit b2f8b11cdc
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -118,7 +118,7 @@ export class PuppeteerControl extends AsyncService {
nextSnapshotDeferred = Defer();
};
page.on('snapshot', hdl);
const gotoPromise = page.goto(url, { waitUntil: 'networkidle2', timeout: 30_000 });
const gotoPromise = page.goto(url, { waitUntil: 'networkidle0', timeout: 30_000 });
gotoPromise.finally(() => finalized = true);
try {