@stablyai/internal-playwright 0.1.16 → 0.1.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/types/test.d.ts +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stablyai/internal-playwright",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "A high-level API to automate web browsers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "license": "Apache-2.0",
68
68
  "dependencies": {
69
- "playwright-core": "npm:@stablyai/internal-playwright-core@0.1.16"
69
+ "playwright-core": "npm:@stablyai/internal-playwright-core@0.1.18"
70
70
  },
71
71
  "optionalDependencies": {
72
72
  "fsevents": "2.3.2"
package/types/test.d.ts CHANGED
@@ -9228,6 +9228,12 @@ interface LocatorAssertions {
9228
9228
  */
9229
9229
  animations?: "disabled"|"allow";
9230
9230
 
9231
+ /**
9232
+ * Whether to attempt auto-healing using AI when screenshot comparison fails. Defaults to the global healing
9233
+ * configuration.
9234
+ */
9235
+ autoHeal?: boolean;
9236
+
9231
9237
  /**
9232
9238
  * When set to `"hide"`, screenshot will hide text caret. When set to `"initial"`, text caret behavior will not be
9233
9239
  * changed. Defaults to `"hide"`.
@@ -9321,6 +9327,12 @@ interface LocatorAssertions {
9321
9327
  */
9322
9328
  animations?: "disabled"|"allow";
9323
9329
 
9330
+ /**
9331
+ * Whether to attempt auto-healing using AI when screenshot comparison fails. Defaults to the global healing
9332
+ * configuration.
9333
+ */
9334
+ autoHeal?: boolean;
9335
+
9324
9336
  /**
9325
9337
  * When set to `"hide"`, screenshot will hide text caret. When set to `"initial"`, text caret behavior will not be
9326
9338
  * changed. Defaults to `"hide"`.