playwright 1.55.0-alpha-2025-07-23 → 1.55.0-alpha-2025-07-24
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.
Potentially problematic release.
This version of playwright might be problematic. Click here for more details.
- package/lib/index.js +3 -1
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -575,8 +575,10 @@ class ArtifactsRecorder {
|
|
|
575
575
|
if (this._pageSnapshot)
|
|
576
576
|
return;
|
|
577
577
|
const page = context.pages()[0];
|
|
578
|
+
if (!page)
|
|
579
|
+
return;
|
|
578
580
|
try {
|
|
579
|
-
this._pageSnapshot = await page
|
|
581
|
+
this._pageSnapshot = await page._snapshotForAI({ timeout: 5e3 });
|
|
580
582
|
} catch {
|
|
581
583
|
}
|
|
582
584
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright",
|
|
3
|
-
"version": "1.55.0-alpha-2025-07-
|
|
3
|
+
"version": "1.55.0-alpha-2025-07-24",
|
|
4
4
|
"description": "A high-level API to automate web browsers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"license": "Apache-2.0",
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"playwright-core": "1.55.0-alpha-2025-07-
|
|
59
|
+
"playwright-core": "1.55.0-alpha-2025-07-24"
|
|
60
60
|
},
|
|
61
61
|
"optionalDependencies": {
|
|
62
62
|
"fsevents": "2.3.2"
|