mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2025-07-26 08:32:26 +08:00
bump to 1s everywhere
This commit is contained in:
parent
43d4d6f0bb
commit
621590897f
@ -86,7 +86,7 @@ export class Tab {
|
|||||||
// on chromium, the download event is fired *after* page.goto rejects, so we wait a lil bit
|
// on chromium, the download event is fired *after* page.goto rejects, so we wait a lil bit
|
||||||
const download = await Promise.race([
|
const download = await Promise.race([
|
||||||
downloadEvent,
|
downloadEvent,
|
||||||
new Promise(resolve => setTimeout(resolve, process.platform === 'win32' ? 1000 : 500)),
|
new Promise(resolve => setTimeout(resolve, 1000)),
|
||||||
]);
|
]);
|
||||||
if (!download)
|
if (!download)
|
||||||
throw e;
|
throw e;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user