This commit is contained in:
yanlong.wang 2025-02-10 15:05:58 +08:00
parent f7fd8132b8
commit 0b93e7da53
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -1018,6 +1018,7 @@ export class PuppeteerControl extends AsyncService {
);
}
});
gotoPromise.catch(() => 'just dont crash anything');
let waitForPromise: Promise<any> | undefined;
if (options?.waitForSelector) {
const t0 = Date.now();