playwright 1.57.0-alpha-2025-10-03 → 1.57.0-alpha-2025-10-04
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/lib/index.js +2 -2
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -89,8 +89,8 @@ const playwrightFixtures = {
|
|
|
89
89
|
await use(options);
|
|
90
90
|
playwright._defaultLaunchOptions = void 0;
|
|
91
91
|
}, { scope: "worker", auto: true, box: true }],
|
|
92
|
-
browser: [async ({ playwright, browserName, _browserOptions, connectOptions }, use
|
|
93
|
-
if (!["chromium", "firefox", "webkit"
|
|
92
|
+
browser: [async ({ playwright, browserName, _browserOptions, connectOptions }, use) => {
|
|
93
|
+
if (!["chromium", "firefox", "webkit"].includes(browserName))
|
|
94
94
|
throw new Error(`Unexpected browserName "${browserName}", must be one of "chromium", "firefox" or "webkit"`);
|
|
95
95
|
if (connectOptions) {
|
|
96
96
|
const browser2 = await playwright[browserName].connect({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright",
|
|
3
|
-
"version": "1.57.0-alpha-2025-10-
|
|
3
|
+
"version": "1.57.0-alpha-2025-10-04",
|
|
4
4
|
"description": "A high-level API to automate web browsers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"license": "Apache-2.0",
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"playwright-core": "1.57.0-alpha-2025-10-
|
|
67
|
+
"playwright-core": "1.57.0-alpha-2025-10-04"
|
|
68
68
|
},
|
|
69
69
|
"optionalDependencies": {
|
|
70
70
|
"fsevents": "2.3.2"
|