Skip to content

Commit 69a804a

Browse files
dgozmanSkn0tt
andauthored
chore: roll playwright to Jun 10th, v1.53 (microsoft#542)
Co-authored-by: Simon Knott <[email protected]>
1 parent 5437675 commit 69a804a

File tree

3 files changed

+16
-21
lines changed

3 files changed

+16
-21
lines changed

package-lock.json

Lines changed: 13 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
"commander": "^13.1.0",
4141
"debug": "^4.4.1",
4242
"mime": "^4.0.7",
43-
"playwright": "1.53.0-alpha-2025-05-27",
43+
"playwright": "1.53.0",
4444
"zod-to-json-schema": "^3.24.4"
4545
},
4646
"devDependencies": {
4747
"@eslint/eslintrc": "^3.2.0",
4848
"@eslint/js": "^9.19.0",
49-
"@playwright/test": "1.53.0-alpha-2025-05-27",
49+
"@playwright/test": "1.53.0",
5050
"@stylistic/eslint-plugin": "^3.0.1",
5151
"@types/debug": "^4.1.12",
5252
"@types/node": "^22.13.10",

src/tab.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,10 @@ export class Tab {
8383
|| e.message.includes('Download is starting'); // firefox + webkit
8484
if (!mightBeDownload)
8585
throw e;
86-
8786
// on chromium, the download event is fired *after* page.goto rejects, so we wait a lil bit
8887
const download = await Promise.race([
8988
downloadEvent,
90-
new Promise(resolve => setTimeout(resolve, 500)),
89+
new Promise(resolve => setTimeout(resolve, 1000)),
9190
]);
9291
if (!download)
9392
throw e;

0 commit comments

Comments
 (0)