@stablyai/internal-playwright 0.1.0 → 0.1.1

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 +1 -1
  2. package/types/test.d.ts +14 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stablyai/internal-playwright",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A high-level API to automate web browsers",
5
5
  "repository": {
6
6
  "type": "git",
package/types/test.d.ts CHANGED
@@ -7493,6 +7493,8 @@ export interface PlaywrightTestOptions {
7493
7493
  testIdAttribute: string;
7494
7494
  }
7495
7495
 
7496
+ type STABLY_AUTOHEAL_MODELS = 'claude-sonnet-4-5';
7497
+
7496
7498
  /**
7497
7499
  * Playwright Test provides many options to configure test environment,
7498
7500
  * [Browser](https://playwright.dev/docs/api/class-browser),
@@ -7532,10 +7534,20 @@ export interface PlaywrightTestOptions {
7532
7534
  *
7533
7535
  */
7534
7536
  export interface StablyTestOptions {
7535
- autoHealLocators?: {
7537
+ autoHeal?: {
7536
7538
  enabled: boolean;
7537
- model?: string;
7539
+ model?: STABLY_AUTOHEAL_MODELS;
7538
7540
  timeout?: number;
7541
+ locators?: {
7542
+ enabled?: boolean;
7543
+ model?: STABLY_AUTOHEAL_MODELS;
7544
+ timeout?: number;
7545
+ };
7546
+ screenshots?: {
7547
+ enabled?: boolean;
7548
+ model?: STABLY_AUTOHEAL_MODELS;
7549
+ timeout?: number;
7550
+ };
7539
7551
  };
7540
7552
  }
7541
7553