playwright-core 1.56.0-alpha-1758061937000 → 1.56.0-alpha-2025-09-18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/browsers.json
CHANGED
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"name": "chromium-tip-of-tree",
|
|
18
|
-
"revision": "
|
|
18
|
+
"revision": "1369",
|
|
19
19
|
"installByDefault": false,
|
|
20
|
-
"browserVersion": "142.0.
|
|
20
|
+
"browserVersion": "142.0.7417.0"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "chromium-tip-of-tree-headless-shell",
|
|
24
|
-
"revision": "
|
|
24
|
+
"revision": "1369",
|
|
25
25
|
"installByDefault": false,
|
|
26
|
-
"browserVersion": "142.0.
|
|
26
|
+
"browserVersion": "142.0.7417.0"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"name": "firefox",
|
|
@@ -47,7 +47,8 @@ async function downloadBrowserWithProgressBar(title, browserDirectory, executabl
|
|
|
47
47
|
import_debugLogger.debugLogger.log("install", `${title} is already downloaded.`);
|
|
48
48
|
return false;
|
|
49
49
|
}
|
|
50
|
-
const
|
|
50
|
+
const uniqueTempDir = await import_fs.default.promises.mkdtemp(import_path.default.join(import_os.default.tmpdir(), "playwright-download-"));
|
|
51
|
+
const zipPath = import_path.default.join(uniqueTempDir, downloadFileName);
|
|
51
52
|
try {
|
|
52
53
|
const retryCount = 5;
|
|
53
54
|
for (let attempt = 1; attempt <= retryCount; ++attempt) {
|
|
@@ -73,8 +74,7 @@ async function downloadBrowserWithProgressBar(title, browserDirectory, executabl
|
|
|
73
74
|
process.exitCode = 1;
|
|
74
75
|
throw e;
|
|
75
76
|
} finally {
|
|
76
|
-
|
|
77
|
-
await import_fs.default.promises.unlink(zipPath);
|
|
77
|
+
await (0, import_fileUtils.removeFolders)([uniqueTempDir]);
|
|
78
78
|
}
|
|
79
79
|
logPolitely(`${title} downloaded to ${browserDirectory}`);
|
|
80
80
|
return true;
|