From 621590897fbf99d2adc0657eafdb623308bd2d67 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Wed, 11 Jun 2025 16:06:52 +0200 Subject: [PATCH] bump to 1s everywhere --- src/tab.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tab.ts b/src/tab.ts index f5f0c9e..d80313d 100644 --- a/src/tab.ts +++ b/src/tab.ts @@ -86,7 +86,7 @@ export class Tab { // on chromium, the download event is fired *after* page.goto rejects, so we wait a lil bit const download = await Promise.race([ downloadEvent, - new Promise(resolve => setTimeout(resolve, process.platform === 'win32' ? 1000 : 500)), + new Promise(resolve => setTimeout(resolve, 1000)), ]); if (!download) throw e;