@dev-blinq/bvt-playwright-js 1.0.0-dev.4.latest.120.1 → 1.0.0-dev.4.latest.131.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.
package/index.d.mts CHANGED
@@ -572,11 +572,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
572
572
  type: z.ZodLiteral<"pw.selectorString">;
573
573
  selectorString: z.ZodString;
574
574
  strategy: z.ZodEnum<{
575
- css: "css";
575
+ testId: "testId";
576
576
  xpath: "xpath";
577
+ css: "css";
577
578
  text: "text";
578
579
  label: "label";
579
- testId: "testId";
580
580
  }>;
581
581
  description: z.ZodOptional<z.ZodString>;
582
582
  }, z.core.$strict>,
@@ -727,11 +727,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
727
727
  }, z.core.$strip>>;
728
728
  }, z.core.$strict>;
729
729
  strategy: z.ZodEnum<{
730
- css: "css";
730
+ testId: "testId";
731
731
  xpath: "xpath";
732
+ css: "css";
732
733
  text: "text";
733
734
  label: "label";
734
- testId: "testId";
735
735
  }>;
736
736
  description: z.ZodOptional<z.ZodString>;
737
737
  }, z.core.$strict>
@@ -830,11 +830,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
830
830
  type: z.ZodLiteral<"pw.selectorString">;
831
831
  selectorString: z.ZodString;
832
832
  strategy: z.ZodEnum<{
833
- css: "css";
833
+ testId: "testId";
834
834
  xpath: "xpath";
835
+ css: "css";
835
836
  text: "text";
836
837
  label: "label";
837
- testId: "testId";
838
838
  }>;
839
839
  description: z.ZodOptional<z.ZodString>;
840
840
  }, z.core.$strict>,
@@ -985,11 +985,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
985
985
  }, z.core.$strip>>;
986
986
  }, z.core.$strict>;
987
987
  strategy: z.ZodEnum<{
988
- css: "css";
988
+ testId: "testId";
989
989
  xpath: "xpath";
990
+ css: "css";
990
991
  text: "text";
991
992
  label: "label";
992
- testId: "testId";
993
993
  }>;
994
994
  description: z.ZodOptional<z.ZodString>;
995
995
  }, z.core.$strict>
@@ -1065,11 +1065,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
1065
1065
  type: z.ZodLiteral<"pw.selectorString">;
1066
1066
  selectorString: z.ZodString;
1067
1067
  strategy: z.ZodEnum<{
1068
- css: "css";
1068
+ testId: "testId";
1069
1069
  xpath: "xpath";
1070
+ css: "css";
1070
1071
  text: "text";
1071
1072
  label: "label";
1072
- testId: "testId";
1073
1073
  }>;
1074
1074
  description: z.ZodOptional<z.ZodString>;
1075
1075
  }, z.core.$strict>,
@@ -1220,11 +1220,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
1220
1220
  }, z.core.$strip>>;
1221
1221
  }, z.core.$strict>;
1222
1222
  strategy: z.ZodEnum<{
1223
- css: "css";
1223
+ testId: "testId";
1224
1224
  xpath: "xpath";
1225
+ css: "css";
1225
1226
  text: "text";
1226
1227
  label: "label";
1227
- testId: "testId";
1228
1228
  }>;
1229
1229
  description: z.ZodOptional<z.ZodString>;
1230
1230
  }, z.core.$strict>
@@ -1341,11 +1341,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
1341
1341
  type: z.ZodLiteral<"pw.selectorString">;
1342
1342
  selectorString: z.ZodString;
1343
1343
  strategy: z.ZodEnum<{
1344
- css: "css";
1344
+ testId: "testId";
1345
1345
  xpath: "xpath";
1346
+ css: "css";
1346
1347
  text: "text";
1347
1348
  label: "label";
1348
- testId: "testId";
1349
1349
  }>;
1350
1350
  description: z.ZodOptional<z.ZodString>;
1351
1351
  }, z.core.$strict>,
@@ -1496,11 +1496,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
1496
1496
  }, z.core.$strip>>;
1497
1497
  }, z.core.$strict>;
1498
1498
  strategy: z.ZodEnum<{
1499
- css: "css";
1499
+ testId: "testId";
1500
1500
  xpath: "xpath";
1501
+ css: "css";
1501
1502
  text: "text";
1502
1503
  label: "label";
1503
- testId: "testId";
1504
1504
  }>;
1505
1505
  description: z.ZodOptional<z.ZodString>;
1506
1506
  }, z.core.$strict>
@@ -1512,11 +1512,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
1512
1512
  type: z.ZodLiteral<"pw.selectorString">;
1513
1513
  selectorString: z.ZodString;
1514
1514
  strategy: z.ZodEnum<{
1515
- css: "css";
1515
+ testId: "testId";
1516
1516
  xpath: "xpath";
1517
+ css: "css";
1517
1518
  text: "text";
1518
1519
  label: "label";
1519
- testId: "testId";
1520
1520
  }>;
1521
1521
  description: z.ZodOptional<z.ZodString>;
1522
1522
  }, z.core.$strict>,
@@ -1667,11 +1667,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
1667
1667
  }, z.core.$strip>>;
1668
1668
  }, z.core.$strict>;
1669
1669
  strategy: z.ZodEnum<{
1670
- css: "css";
1670
+ testId: "testId";
1671
1671
  xpath: "xpath";
1672
+ css: "css";
1672
1673
  text: "text";
1673
1674
  label: "label";
1674
- testId: "testId";
1675
1675
  }>;
1676
1676
  description: z.ZodOptional<z.ZodString>;
1677
1677
  }, z.core.$strict>
@@ -1709,11 +1709,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
1709
1709
  type: z.ZodLiteral<"pw.selectorString">;
1710
1710
  selectorString: z.ZodString;
1711
1711
  strategy: z.ZodEnum<{
1712
- css: "css";
1712
+ testId: "testId";
1713
1713
  xpath: "xpath";
1714
+ css: "css";
1714
1715
  text: "text";
1715
1716
  label: "label";
1716
- testId: "testId";
1717
1717
  }>;
1718
1718
  description: z.ZodOptional<z.ZodString>;
1719
1719
  }, z.core.$strict>,
@@ -1864,24 +1864,24 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
1864
1864
  }, z.core.$strip>>;
1865
1865
  }, z.core.$strict>;
1866
1866
  strategy: z.ZodEnum<{
1867
- css: "css";
1867
+ testId: "testId";
1868
1868
  xpath: "xpath";
1869
+ css: "css";
1869
1870
  text: "text";
1870
1871
  label: "label";
1871
- testId: "testId";
1872
1872
  }>;
1873
1873
  description: z.ZodOptional<z.ZodString>;
1874
1874
  }, z.core.$strict>
1875
1875
  ], "type">;
1876
1876
  score: z.ZodNumber;
1877
1877
  source: z.ZodEnum<{
1878
- xpath: "xpath";
1879
- testId: "testId";
1880
1878
  role: "role";
1881
1879
  accessibleName: "accessibleName";
1880
+ testId: "testId";
1882
1881
  visibleText: "visibleText";
1883
1882
  stableAttribute: "stableAttribute";
1884
1883
  ancestorScoped: "ancestorScoped";
1884
+ xpath: "xpath";
1885
1885
  }>;
1886
1886
  }, z.core.$strict>>>;
1887
1887
  fingerprint: z.ZodOptional<z.ZodObject<{
@@ -2101,11 +2101,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
2101
2101
  type: z.ZodLiteral<"pw.selectorString">;
2102
2102
  selectorString: z.ZodString;
2103
2103
  strategy: z.ZodEnum<{
2104
- css: "css";
2104
+ testId: "testId";
2105
2105
  xpath: "xpath";
2106
+ css: "css";
2106
2107
  text: "text";
2107
2108
  label: "label";
2108
- testId: "testId";
2109
2109
  }>;
2110
2110
  description: z.ZodOptional<z.ZodString>;
2111
2111
  }, z.core.$strict>,
@@ -2256,11 +2256,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
2256
2256
  }, z.core.$strip>>;
2257
2257
  }, z.core.$strict>;
2258
2258
  strategy: z.ZodEnum<{
2259
- css: "css";
2259
+ testId: "testId";
2260
2260
  xpath: "xpath";
2261
+ css: "css";
2261
2262
  text: "text";
2262
2263
  label: "label";
2263
- testId: "testId";
2264
2264
  }>;
2265
2265
  description: z.ZodOptional<z.ZodString>;
2266
2266
  }, z.core.$strict>
@@ -2272,11 +2272,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
2272
2272
  type: z.ZodLiteral<"pw.selectorString">;
2273
2273
  selectorString: z.ZodString;
2274
2274
  strategy: z.ZodEnum<{
2275
- css: "css";
2275
+ testId: "testId";
2276
2276
  xpath: "xpath";
2277
+ css: "css";
2277
2278
  text: "text";
2278
2279
  label: "label";
2279
- testId: "testId";
2280
2280
  }>;
2281
2281
  description: z.ZodOptional<z.ZodString>;
2282
2282
  }, z.core.$strict>,
@@ -2427,11 +2427,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
2427
2427
  }, z.core.$strip>>;
2428
2428
  }, z.core.$strict>;
2429
2429
  strategy: z.ZodEnum<{
2430
- css: "css";
2430
+ testId: "testId";
2431
2431
  xpath: "xpath";
2432
+ css: "css";
2432
2433
  text: "text";
2433
2434
  label: "label";
2434
- testId: "testId";
2435
2435
  }>;
2436
2436
  description: z.ZodOptional<z.ZodString>;
2437
2437
  }, z.core.$strict>
@@ -2469,11 +2469,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
2469
2469
  type: z.ZodLiteral<"pw.selectorString">;
2470
2470
  selectorString: z.ZodString;
2471
2471
  strategy: z.ZodEnum<{
2472
- css: "css";
2472
+ testId: "testId";
2473
2473
  xpath: "xpath";
2474
+ css: "css";
2474
2475
  text: "text";
2475
2476
  label: "label";
2476
- testId: "testId";
2477
2477
  }>;
2478
2478
  description: z.ZodOptional<z.ZodString>;
2479
2479
  }, z.core.$strict>,
@@ -2624,24 +2624,24 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
2624
2624
  }, z.core.$strip>>;
2625
2625
  }, z.core.$strict>;
2626
2626
  strategy: z.ZodEnum<{
2627
- css: "css";
2627
+ testId: "testId";
2628
2628
  xpath: "xpath";
2629
+ css: "css";
2629
2630
  text: "text";
2630
2631
  label: "label";
2631
- testId: "testId";
2632
2632
  }>;
2633
2633
  description: z.ZodOptional<z.ZodString>;
2634
2634
  }, z.core.$strict>
2635
2635
  ], "type">;
2636
2636
  score: z.ZodNumber;
2637
2637
  source: z.ZodEnum<{
2638
- xpath: "xpath";
2639
- testId: "testId";
2640
2638
  role: "role";
2641
2639
  accessibleName: "accessibleName";
2640
+ testId: "testId";
2642
2641
  visibleText: "visibleText";
2643
2642
  stableAttribute: "stableAttribute";
2644
2643
  ancestorScoped: "ancestorScoped";
2644
+ xpath: "xpath";
2645
2645
  }>;
2646
2646
  }, z.core.$strict>>>;
2647
2647
  fingerprint: z.ZodOptional<z.ZodObject<{
@@ -2745,11 +2745,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
2745
2745
  type: z.ZodLiteral<"pw.selectorString">;
2746
2746
  selectorString: z.ZodString;
2747
2747
  strategy: z.ZodEnum<{
2748
- css: "css";
2748
+ testId: "testId";
2749
2749
  xpath: "xpath";
2750
+ css: "css";
2750
2751
  text: "text";
2751
2752
  label: "label";
2752
- testId: "testId";
2753
2753
  }>;
2754
2754
  description: z.ZodOptional<z.ZodString>;
2755
2755
  }, z.core.$strict>,
@@ -2900,11 +2900,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
2900
2900
  }, z.core.$strip>>;
2901
2901
  }, z.core.$strict>;
2902
2902
  strategy: z.ZodEnum<{
2903
- css: "css";
2903
+ testId: "testId";
2904
2904
  xpath: "xpath";
2905
+ css: "css";
2905
2906
  text: "text";
2906
2907
  label: "label";
2907
- testId: "testId";
2908
2908
  }>;
2909
2909
  description: z.ZodOptional<z.ZodString>;
2910
2910
  }, z.core.$strict>
@@ -2916,11 +2916,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
2916
2916
  type: z.ZodLiteral<"pw.selectorString">;
2917
2917
  selectorString: z.ZodString;
2918
2918
  strategy: z.ZodEnum<{
2919
- css: "css";
2919
+ testId: "testId";
2920
2920
  xpath: "xpath";
2921
+ css: "css";
2921
2922
  text: "text";
2922
2923
  label: "label";
2923
- testId: "testId";
2924
2924
  }>;
2925
2925
  description: z.ZodOptional<z.ZodString>;
2926
2926
  }, z.core.$strict>,
@@ -3071,11 +3071,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
3071
3071
  }, z.core.$strip>>;
3072
3072
  }, z.core.$strict>;
3073
3073
  strategy: z.ZodEnum<{
3074
- css: "css";
3074
+ testId: "testId";
3075
3075
  xpath: "xpath";
3076
+ css: "css";
3076
3077
  text: "text";
3077
3078
  label: "label";
3078
- testId: "testId";
3079
3079
  }>;
3080
3080
  description: z.ZodOptional<z.ZodString>;
3081
3081
  }, z.core.$strict>
@@ -3113,11 +3113,11 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
3113
3113
  type: z.ZodLiteral<"pw.selectorString">;
3114
3114
  selectorString: z.ZodString;
3115
3115
  strategy: z.ZodEnum<{
3116
- css: "css";
3116
+ testId: "testId";
3117
3117
  xpath: "xpath";
3118
+ css: "css";
3118
3119
  text: "text";
3119
3120
  label: "label";
3120
- testId: "testId";
3121
3121
  }>;
3122
3122
  description: z.ZodOptional<z.ZodString>;
3123
3123
  }, z.core.$strict>,
@@ -3268,24 +3268,24 @@ declare const CommandSchema: z.ZodDiscriminatedUnion<[
3268
3268
  }, z.core.$strip>>;
3269
3269
  }, z.core.$strict>;
3270
3270
  strategy: z.ZodEnum<{
3271
- css: "css";
3271
+ testId: "testId";
3272
3272
  xpath: "xpath";
3273
+ css: "css";
3273
3274
  text: "text";
3274
3275
  label: "label";
3275
- testId: "testId";
3276
3276
  }>;
3277
3277
  description: z.ZodOptional<z.ZodString>;
3278
3278
  }, z.core.$strict>
3279
3279
  ], "type">;
3280
3280
  score: z.ZodNumber;
3281
3281
  source: z.ZodEnum<{
3282
- xpath: "xpath";
3283
- testId: "testId";
3284
3282
  role: "role";
3285
3283
  accessibleName: "accessibleName";
3284
+ testId: "testId";
3286
3285
  visibleText: "visibleText";
3287
3286
  stableAttribute: "stableAttribute";
3288
3287
  ancestorScoped: "ancestorScoped";
3288
+ xpath: "xpath";
3289
3289
  }>;
3290
3290
  }, z.core.$strict>>>;
3291
3291
  fingerprint: z.ZodOptional<z.ZodObject<{
@@ -3571,11 +3571,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
3571
3571
  type: z.ZodLiteral<"pw.selectorString">;
3572
3572
  selectorString: z.ZodString;
3573
3573
  strategy: z.ZodEnum<{
3574
- css: "css";
3574
+ testId: "testId";
3575
3575
  xpath: "xpath";
3576
+ css: "css";
3576
3577
  text: "text";
3577
3578
  label: "label";
3578
- testId: "testId";
3579
3579
  }>;
3580
3580
  description: z.ZodOptional<z.ZodString>;
3581
3581
  }, z.core.$strict>,
@@ -3726,11 +3726,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
3726
3726
  }, z.core.$strip>>;
3727
3727
  }, z.core.$strict>;
3728
3728
  strategy: z.ZodEnum<{
3729
- css: "css";
3729
+ testId: "testId";
3730
3730
  xpath: "xpath";
3731
+ css: "css";
3731
3732
  text: "text";
3732
3733
  label: "label";
3733
- testId: "testId";
3734
3734
  }>;
3735
3735
  description: z.ZodOptional<z.ZodString>;
3736
3736
  }, z.core.$strict>
@@ -3829,11 +3829,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
3829
3829
  type: z.ZodLiteral<"pw.selectorString">;
3830
3830
  selectorString: z.ZodString;
3831
3831
  strategy: z.ZodEnum<{
3832
- css: "css";
3832
+ testId: "testId";
3833
3833
  xpath: "xpath";
3834
+ css: "css";
3834
3835
  text: "text";
3835
3836
  label: "label";
3836
- testId: "testId";
3837
3837
  }>;
3838
3838
  description: z.ZodOptional<z.ZodString>;
3839
3839
  }, z.core.$strict>,
@@ -3984,11 +3984,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
3984
3984
  }, z.core.$strip>>;
3985
3985
  }, z.core.$strict>;
3986
3986
  strategy: z.ZodEnum<{
3987
- css: "css";
3987
+ testId: "testId";
3988
3988
  xpath: "xpath";
3989
+ css: "css";
3989
3990
  text: "text";
3990
3991
  label: "label";
3991
- testId: "testId";
3992
3992
  }>;
3993
3993
  description: z.ZodOptional<z.ZodString>;
3994
3994
  }, z.core.$strict>
@@ -4064,11 +4064,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
4064
4064
  type: z.ZodLiteral<"pw.selectorString">;
4065
4065
  selectorString: z.ZodString;
4066
4066
  strategy: z.ZodEnum<{
4067
- css: "css";
4067
+ testId: "testId";
4068
4068
  xpath: "xpath";
4069
+ css: "css";
4069
4070
  text: "text";
4070
4071
  label: "label";
4071
- testId: "testId";
4072
4072
  }>;
4073
4073
  description: z.ZodOptional<z.ZodString>;
4074
4074
  }, z.core.$strict>,
@@ -4219,11 +4219,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
4219
4219
  }, z.core.$strip>>;
4220
4220
  }, z.core.$strict>;
4221
4221
  strategy: z.ZodEnum<{
4222
- css: "css";
4222
+ testId: "testId";
4223
4223
  xpath: "xpath";
4224
+ css: "css";
4224
4225
  text: "text";
4225
4226
  label: "label";
4226
- testId: "testId";
4227
4227
  }>;
4228
4228
  description: z.ZodOptional<z.ZodString>;
4229
4229
  }, z.core.$strict>
@@ -4340,11 +4340,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
4340
4340
  type: z.ZodLiteral<"pw.selectorString">;
4341
4341
  selectorString: z.ZodString;
4342
4342
  strategy: z.ZodEnum<{
4343
- css: "css";
4343
+ testId: "testId";
4344
4344
  xpath: "xpath";
4345
+ css: "css";
4345
4346
  text: "text";
4346
4347
  label: "label";
4347
- testId: "testId";
4348
4348
  }>;
4349
4349
  description: z.ZodOptional<z.ZodString>;
4350
4350
  }, z.core.$strict>,
@@ -4495,11 +4495,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
4495
4495
  }, z.core.$strip>>;
4496
4496
  }, z.core.$strict>;
4497
4497
  strategy: z.ZodEnum<{
4498
- css: "css";
4498
+ testId: "testId";
4499
4499
  xpath: "xpath";
4500
+ css: "css";
4500
4501
  text: "text";
4501
4502
  label: "label";
4502
- testId: "testId";
4503
4503
  }>;
4504
4504
  description: z.ZodOptional<z.ZodString>;
4505
4505
  }, z.core.$strict>
@@ -4511,11 +4511,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
4511
4511
  type: z.ZodLiteral<"pw.selectorString">;
4512
4512
  selectorString: z.ZodString;
4513
4513
  strategy: z.ZodEnum<{
4514
- css: "css";
4514
+ testId: "testId";
4515
4515
  xpath: "xpath";
4516
+ css: "css";
4516
4517
  text: "text";
4517
4518
  label: "label";
4518
- testId: "testId";
4519
4519
  }>;
4520
4520
  description: z.ZodOptional<z.ZodString>;
4521
4521
  }, z.core.$strict>,
@@ -4666,11 +4666,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
4666
4666
  }, z.core.$strip>>;
4667
4667
  }, z.core.$strict>;
4668
4668
  strategy: z.ZodEnum<{
4669
- css: "css";
4669
+ testId: "testId";
4670
4670
  xpath: "xpath";
4671
+ css: "css";
4671
4672
  text: "text";
4672
4673
  label: "label";
4673
- testId: "testId";
4674
4674
  }>;
4675
4675
  description: z.ZodOptional<z.ZodString>;
4676
4676
  }, z.core.$strict>
@@ -4708,11 +4708,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
4708
4708
  type: z.ZodLiteral<"pw.selectorString">;
4709
4709
  selectorString: z.ZodString;
4710
4710
  strategy: z.ZodEnum<{
4711
- css: "css";
4711
+ testId: "testId";
4712
4712
  xpath: "xpath";
4713
+ css: "css";
4713
4714
  text: "text";
4714
4715
  label: "label";
4715
- testId: "testId";
4716
4716
  }>;
4717
4717
  description: z.ZodOptional<z.ZodString>;
4718
4718
  }, z.core.$strict>,
@@ -4863,24 +4863,24 @@ declare const StepDefinitionSchema: z.ZodObject<{
4863
4863
  }, z.core.$strip>>;
4864
4864
  }, z.core.$strict>;
4865
4865
  strategy: z.ZodEnum<{
4866
- css: "css";
4866
+ testId: "testId";
4867
4867
  xpath: "xpath";
4868
+ css: "css";
4868
4869
  text: "text";
4869
4870
  label: "label";
4870
- testId: "testId";
4871
4871
  }>;
4872
4872
  description: z.ZodOptional<z.ZodString>;
4873
4873
  }, z.core.$strict>
4874
4874
  ], "type">;
4875
4875
  score: z.ZodNumber;
4876
4876
  source: z.ZodEnum<{
4877
- xpath: "xpath";
4878
- testId: "testId";
4879
4877
  role: "role";
4880
4878
  accessibleName: "accessibleName";
4879
+ testId: "testId";
4881
4880
  visibleText: "visibleText";
4882
4881
  stableAttribute: "stableAttribute";
4883
4882
  ancestorScoped: "ancestorScoped";
4883
+ xpath: "xpath";
4884
4884
  }>;
4885
4885
  }, z.core.$strict>>>;
4886
4886
  fingerprint: z.ZodOptional<z.ZodObject<{
@@ -5100,11 +5100,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
5100
5100
  type: z.ZodLiteral<"pw.selectorString">;
5101
5101
  selectorString: z.ZodString;
5102
5102
  strategy: z.ZodEnum<{
5103
- css: "css";
5103
+ testId: "testId";
5104
5104
  xpath: "xpath";
5105
+ css: "css";
5105
5106
  text: "text";
5106
5107
  label: "label";
5107
- testId: "testId";
5108
5108
  }>;
5109
5109
  description: z.ZodOptional<z.ZodString>;
5110
5110
  }, z.core.$strict>,
@@ -5255,11 +5255,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
5255
5255
  }, z.core.$strip>>;
5256
5256
  }, z.core.$strict>;
5257
5257
  strategy: z.ZodEnum<{
5258
- css: "css";
5258
+ testId: "testId";
5259
5259
  xpath: "xpath";
5260
+ css: "css";
5260
5261
  text: "text";
5261
5262
  label: "label";
5262
- testId: "testId";
5263
5263
  }>;
5264
5264
  description: z.ZodOptional<z.ZodString>;
5265
5265
  }, z.core.$strict>
@@ -5271,11 +5271,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
5271
5271
  type: z.ZodLiteral<"pw.selectorString">;
5272
5272
  selectorString: z.ZodString;
5273
5273
  strategy: z.ZodEnum<{
5274
- css: "css";
5274
+ testId: "testId";
5275
5275
  xpath: "xpath";
5276
+ css: "css";
5276
5277
  text: "text";
5277
5278
  label: "label";
5278
- testId: "testId";
5279
5279
  }>;
5280
5280
  description: z.ZodOptional<z.ZodString>;
5281
5281
  }, z.core.$strict>,
@@ -5426,11 +5426,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
5426
5426
  }, z.core.$strip>>;
5427
5427
  }, z.core.$strict>;
5428
5428
  strategy: z.ZodEnum<{
5429
- css: "css";
5429
+ testId: "testId";
5430
5430
  xpath: "xpath";
5431
+ css: "css";
5431
5432
  text: "text";
5432
5433
  label: "label";
5433
- testId: "testId";
5434
5434
  }>;
5435
5435
  description: z.ZodOptional<z.ZodString>;
5436
5436
  }, z.core.$strict>
@@ -5468,11 +5468,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
5468
5468
  type: z.ZodLiteral<"pw.selectorString">;
5469
5469
  selectorString: z.ZodString;
5470
5470
  strategy: z.ZodEnum<{
5471
- css: "css";
5471
+ testId: "testId";
5472
5472
  xpath: "xpath";
5473
+ css: "css";
5473
5474
  text: "text";
5474
5475
  label: "label";
5475
- testId: "testId";
5476
5476
  }>;
5477
5477
  description: z.ZodOptional<z.ZodString>;
5478
5478
  }, z.core.$strict>,
@@ -5623,24 +5623,24 @@ declare const StepDefinitionSchema: z.ZodObject<{
5623
5623
  }, z.core.$strip>>;
5624
5624
  }, z.core.$strict>;
5625
5625
  strategy: z.ZodEnum<{
5626
- css: "css";
5626
+ testId: "testId";
5627
5627
  xpath: "xpath";
5628
+ css: "css";
5628
5629
  text: "text";
5629
5630
  label: "label";
5630
- testId: "testId";
5631
5631
  }>;
5632
5632
  description: z.ZodOptional<z.ZodString>;
5633
5633
  }, z.core.$strict>
5634
5634
  ], "type">;
5635
5635
  score: z.ZodNumber;
5636
5636
  source: z.ZodEnum<{
5637
- xpath: "xpath";
5638
- testId: "testId";
5639
5637
  role: "role";
5640
5638
  accessibleName: "accessibleName";
5639
+ testId: "testId";
5641
5640
  visibleText: "visibleText";
5642
5641
  stableAttribute: "stableAttribute";
5643
5642
  ancestorScoped: "ancestorScoped";
5643
+ xpath: "xpath";
5644
5644
  }>;
5645
5645
  }, z.core.$strict>>>;
5646
5646
  fingerprint: z.ZodOptional<z.ZodObject<{
@@ -5744,11 +5744,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
5744
5744
  type: z.ZodLiteral<"pw.selectorString">;
5745
5745
  selectorString: z.ZodString;
5746
5746
  strategy: z.ZodEnum<{
5747
- css: "css";
5747
+ testId: "testId";
5748
5748
  xpath: "xpath";
5749
+ css: "css";
5749
5750
  text: "text";
5750
5751
  label: "label";
5751
- testId: "testId";
5752
5752
  }>;
5753
5753
  description: z.ZodOptional<z.ZodString>;
5754
5754
  }, z.core.$strict>,
@@ -5899,11 +5899,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
5899
5899
  }, z.core.$strip>>;
5900
5900
  }, z.core.$strict>;
5901
5901
  strategy: z.ZodEnum<{
5902
- css: "css";
5902
+ testId: "testId";
5903
5903
  xpath: "xpath";
5904
+ css: "css";
5904
5905
  text: "text";
5905
5906
  label: "label";
5906
- testId: "testId";
5907
5907
  }>;
5908
5908
  description: z.ZodOptional<z.ZodString>;
5909
5909
  }, z.core.$strict>
@@ -5915,11 +5915,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
5915
5915
  type: z.ZodLiteral<"pw.selectorString">;
5916
5916
  selectorString: z.ZodString;
5917
5917
  strategy: z.ZodEnum<{
5918
- css: "css";
5918
+ testId: "testId";
5919
5919
  xpath: "xpath";
5920
+ css: "css";
5920
5921
  text: "text";
5921
5922
  label: "label";
5922
- testId: "testId";
5923
5923
  }>;
5924
5924
  description: z.ZodOptional<z.ZodString>;
5925
5925
  }, z.core.$strict>,
@@ -6070,11 +6070,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
6070
6070
  }, z.core.$strip>>;
6071
6071
  }, z.core.$strict>;
6072
6072
  strategy: z.ZodEnum<{
6073
- css: "css";
6073
+ testId: "testId";
6074
6074
  xpath: "xpath";
6075
+ css: "css";
6075
6076
  text: "text";
6076
6077
  label: "label";
6077
- testId: "testId";
6078
6078
  }>;
6079
6079
  description: z.ZodOptional<z.ZodString>;
6080
6080
  }, z.core.$strict>
@@ -6112,11 +6112,11 @@ declare const StepDefinitionSchema: z.ZodObject<{
6112
6112
  type: z.ZodLiteral<"pw.selectorString">;
6113
6113
  selectorString: z.ZodString;
6114
6114
  strategy: z.ZodEnum<{
6115
- css: "css";
6115
+ testId: "testId";
6116
6116
  xpath: "xpath";
6117
+ css: "css";
6117
6118
  text: "text";
6118
6119
  label: "label";
6119
- testId: "testId";
6120
6120
  }>;
6121
6121
  description: z.ZodOptional<z.ZodString>;
6122
6122
  }, z.core.$strict>,
@@ -6267,24 +6267,24 @@ declare const StepDefinitionSchema: z.ZodObject<{
6267
6267
  }, z.core.$strip>>;
6268
6268
  }, z.core.$strict>;
6269
6269
  strategy: z.ZodEnum<{
6270
- css: "css";
6270
+ testId: "testId";
6271
6271
  xpath: "xpath";
6272
+ css: "css";
6272
6273
  text: "text";
6273
6274
  label: "label";
6274
- testId: "testId";
6275
6275
  }>;
6276
6276
  description: z.ZodOptional<z.ZodString>;
6277
6277
  }, z.core.$strict>
6278
6278
  ], "type">;
6279
6279
  score: z.ZodNumber;
6280
6280
  source: z.ZodEnum<{
6281
- xpath: "xpath";
6282
- testId: "testId";
6283
6281
  role: "role";
6284
6282
  accessibleName: "accessibleName";
6283
+ testId: "testId";
6285
6284
  visibleText: "visibleText";
6286
6285
  stableAttribute: "stableAttribute";
6287
6286
  ancestorScoped: "ancestorScoped";
6287
+ xpath: "xpath";
6288
6288
  }>;
6289
6289
  }, z.core.$strict>>>;
6290
6290
  fingerprint: z.ZodOptional<z.ZodObject<{
@@ -6536,11 +6536,11 @@ declare const UniqueSelectorSchema: z.ZodDiscriminatedUnion<[
6536
6536
  type: z.ZodLiteral<"pw.selectorString">;
6537
6537
  selectorString: z.ZodString;
6538
6538
  strategy: z.ZodEnum<{
6539
- css: "css";
6539
+ testId: "testId";
6540
6540
  xpath: "xpath";
6541
+ css: "css";
6541
6542
  text: "text";
6542
6543
  label: "label";
6543
- testId: "testId";
6544
6544
  }>;
6545
6545
  description: z.ZodOptional<z.ZodString>;
6546
6546
  }, z.core.$strict>,
@@ -6691,11 +6691,11 @@ declare const UniqueSelectorSchema: z.ZodDiscriminatedUnion<[
6691
6691
  }, z.core.$strip>>;
6692
6692
  }, z.core.$strict>;
6693
6693
  strategy: z.ZodEnum<{
6694
- css: "css";
6694
+ testId: "testId";
6695
6695
  xpath: "xpath";
6696
+ css: "css";
6696
6697
  text: "text";
6697
6698
  label: "label";
6698
- testId: "testId";
6699
6699
  }>;
6700
6700
  description: z.ZodOptional<z.ZodString>;
6701
6701
  }, z.core.$strict>
@@ -6711,11 +6711,11 @@ declare const ReplayLocatorCandidateSchema: z.ZodObject<{
6711
6711
  type: z.ZodLiteral<"pw.selectorString">;
6712
6712
  selectorString: z.ZodString;
6713
6713
  strategy: z.ZodEnum<{
6714
- css: "css";
6714
+ testId: "testId";
6715
6715
  xpath: "xpath";
6716
+ css: "css";
6716
6717
  text: "text";
6717
6718
  label: "label";
6718
- testId: "testId";
6719
6719
  }>;
6720
6720
  description: z.ZodOptional<z.ZodString>;
6721
6721
  }, z.core.$strict>,
@@ -6866,24 +6866,24 @@ declare const ReplayLocatorCandidateSchema: z.ZodObject<{
6866
6866
  }, z.core.$strip>>;
6867
6867
  }, z.core.$strict>;
6868
6868
  strategy: z.ZodEnum<{
6869
- css: "css";
6869
+ testId: "testId";
6870
6870
  xpath: "xpath";
6871
+ css: "css";
6871
6872
  text: "text";
6872
6873
  label: "label";
6873
- testId: "testId";
6874
6874
  }>;
6875
6875
  description: z.ZodOptional<z.ZodString>;
6876
6876
  }, z.core.$strict>
6877
6877
  ], "type">;
6878
6878
  score: z.ZodNumber;
6879
6879
  source: z.ZodEnum<{
6880
- xpath: "xpath";
6881
- testId: "testId";
6882
6880
  role: "role";
6883
6881
  accessibleName: "accessibleName";
6882
+ testId: "testId";
6884
6883
  visibleText: "visibleText";
6885
6884
  stableAttribute: "stableAttribute";
6886
6885
  ancestorScoped: "ancestorScoped";
6886
+ xpath: "xpath";
6887
6887
  }>;
6888
6888
  }, z.core.$strict>;
6889
6889
  type ReplayLocatorCandidate = z.infer<typeof ReplayLocatorCandidateSchema>;
@@ -6993,11 +6993,11 @@ declare const StepReplayTelemetrySchema: z.ZodObject<{
6993
6993
  type: z.ZodLiteral<"pw.selectorString">;
6994
6994
  selectorString: z.ZodString;
6995
6995
  strategy: z.ZodEnum<{
6996
- css: "css";
6996
+ testId: "testId";
6997
6997
  xpath: "xpath";
6998
+ css: "css";
6998
6999
  text: "text";
6999
7000
  label: "label";
7000
- testId: "testId";
7001
7001
  }>;
7002
7002
  description: z.ZodOptional<z.ZodString>;
7003
7003
  }, z.core.$strict>,
@@ -7148,24 +7148,24 @@ declare const StepReplayTelemetrySchema: z.ZodObject<{
7148
7148
  }, z.core.$strip>>;
7149
7149
  }, z.core.$strict>;
7150
7150
  strategy: z.ZodEnum<{
7151
- css: "css";
7151
+ testId: "testId";
7152
7152
  xpath: "xpath";
7153
+ css: "css";
7153
7154
  text: "text";
7154
7155
  label: "label";
7155
- testId: "testId";
7156
7156
  }>;
7157
7157
  description: z.ZodOptional<z.ZodString>;
7158
7158
  }, z.core.$strict>
7159
7159
  ], "type">;
7160
7160
  score: z.ZodNumber;
7161
7161
  source: z.ZodEnum<{
7162
- xpath: "xpath";
7163
- testId: "testId";
7164
7162
  role: "role";
7165
7163
  accessibleName: "accessibleName";
7164
+ testId: "testId";
7166
7165
  visibleText: "visibleText";
7167
7166
  stableAttribute: "stableAttribute";
7168
7167
  ancestorScoped: "ancestorScoped";
7168
+ xpath: "xpath";
7169
7169
  }>;
7170
7170
  }, z.core.$strict>>;
7171
7171
  failureContext: z.ZodOptional<z.ZodObject<{
@@ -7237,8 +7237,8 @@ declare const RecoveryMetadataSchema: z.ZodObject<{
7237
7237
  healedSelector: z.ZodOptional<z.ZodString>;
7238
7238
  commandPatchSummary: z.ZodOptional<z.ZodString>;
7239
7239
  retryOutcome: z.ZodEnum<{
7240
- passed: "passed";
7241
7240
  failed: "failed";
7241
+ passed: "passed";
7242
7242
  }>;
7243
7243
  recoveredAt: z.ZodOptional<z.ZodString>;
7244
7244
  healedLocatorPersistedAt: z.ZodOptional<z.ZodString>;
@@ -7267,11 +7267,11 @@ declare const RecoveryStatusEventSchema: z.ZodObject<{
7267
7267
  stepId: z.ZodString;
7268
7268
  commandId: z.ZodString;
7269
7269
  phase: z.ZodEnum<{
7270
- failed: "failed";
7271
7270
  analyzing: "analyzing";
7272
7271
  trying_fix: "trying_fix";
7273
7272
  checking_fix: "checking_fix";
7274
7273
  fixed: "fixed";
7274
+ failed: "failed";
7275
7275
  }>;
7276
7276
  message: z.ZodString;
7277
7277
  timestamp: z.ZodString;
@@ -7363,8 +7363,8 @@ declare const RecoveryDecisionSchema: z.ZodDiscriminatedUnion<[
7363
7363
  }, z.core.$strip>
7364
7364
  ], "type">;
7365
7365
  repairContext: z.ZodEnum<{
7366
- "local-run": "local-run";
7367
7366
  "recorder-replay": "recorder-replay";
7367
+ "local-run": "local-run";
7368
7368
  "execution-planner": "execution-planner";
7369
7369
  }>;
7370
7370
  rcaLabel: z.ZodOptional<z.ZodString>;
@@ -7420,8 +7420,8 @@ type ExecutionStartedEventData = {
7420
7420
  type: "execution_started";
7421
7421
  };
7422
7422
  declare const ScopeTypeSchema: z.ZodEnum<{
7423
- runtime: "runtime";
7424
7423
  environment: "environment";
7424
+ runtime: "runtime";
7425
7425
  global: "global";
7426
7426
  feature: "feature";
7427
7427
  scenario: "scenario";
@@ -7455,8 +7455,8 @@ declare const TestDataEntrySchema: z.ZodObject<{
7455
7455
  }>;
7456
7456
  scope: z.ZodObject<{
7457
7457
  type: z.ZodEnum<{
7458
- runtime: "runtime";
7459
7458
  environment: "environment";
7459
+ runtime: "runtime";
7460
7460
  global: "global";
7461
7461
  feature: "feature";
7462
7462
  scenario: "scenario";
@@ -7486,8 +7486,8 @@ declare const ResolutionContextSchema: z.ZodObject<{
7486
7486
  type ResolutionContext = z.infer<typeof ResolutionContextSchema>;
7487
7487
  declare const BrowserObserverStateKSchema: z.ZodUnion<readonly [
7488
7488
  z.ZodEnum<{
7489
- input: "input";
7490
7489
  text: "text";
7490
+ input: "input";
7491
7491
  context: "context";
7492
7492
  hover: "hover";
7493
7493
  ai: "ai";
@@ -7505,11 +7505,11 @@ declare const PickedElementSchema: z.ZodObject<{
7505
7505
  type: z.ZodLiteral<"pw.selectorString">;
7506
7506
  selectorString: z.ZodString;
7507
7507
  strategy: z.ZodEnum<{
7508
- css: "css";
7508
+ testId: "testId";
7509
7509
  xpath: "xpath";
7510
+ css: "css";
7510
7511
  text: "text";
7511
7512
  label: "label";
7512
- testId: "testId";
7513
7513
  }>;
7514
7514
  description: z.ZodOptional<z.ZodString>;
7515
7515
  }, z.core.$strict>,
@@ -7660,11 +7660,11 @@ declare const PickedElementSchema: z.ZodObject<{
7660
7660
  }, z.core.$strip>>;
7661
7661
  }, z.core.$strict>;
7662
7662
  strategy: z.ZodEnum<{
7663
- css: "css";
7663
+ testId: "testId";
7664
7664
  xpath: "xpath";
7665
+ css: "css";
7665
7666
  text: "text";
7666
7667
  label: "label";
7667
- testId: "testId";
7668
7668
  }>;
7669
7669
  description: z.ZodOptional<z.ZodString>;
7670
7670
  }, z.core.$strict>
@@ -7679,11 +7679,11 @@ declare const PickedElementSchema: z.ZodObject<{
7679
7679
  type: z.ZodLiteral<"pw.selectorString">;
7680
7680
  selectorString: z.ZodString;
7681
7681
  strategy: z.ZodEnum<{
7682
- css: "css";
7682
+ testId: "testId";
7683
7683
  xpath: "xpath";
7684
+ css: "css";
7684
7685
  text: "text";
7685
7686
  label: "label";
7686
- testId: "testId";
7687
7687
  }>;
7688
7688
  description: z.ZodOptional<z.ZodString>;
7689
7689
  }, z.core.$strict>,
@@ -7834,24 +7834,24 @@ declare const PickedElementSchema: z.ZodObject<{
7834
7834
  }, z.core.$strip>>;
7835
7835
  }, z.core.$strict>;
7836
7836
  strategy: z.ZodEnum<{
7837
- css: "css";
7837
+ testId: "testId";
7838
7838
  xpath: "xpath";
7839
+ css: "css";
7839
7840
  text: "text";
7840
7841
  label: "label";
7841
- testId: "testId";
7842
7842
  }>;
7843
7843
  description: z.ZodOptional<z.ZodString>;
7844
7844
  }, z.core.$strict>
7845
7845
  ], "type">;
7846
7846
  score: z.ZodNumber;
7847
7847
  source: z.ZodEnum<{
7848
- xpath: "xpath";
7849
- testId: "testId";
7850
7848
  role: "role";
7851
7849
  accessibleName: "accessibleName";
7850
+ testId: "testId";
7852
7851
  visibleText: "visibleText";
7853
7852
  stableAttribute: "stableAttribute";
7854
7853
  ancestorScoped: "ancestorScoped";
7854
+ xpath: "xpath";
7855
7855
  }>;
7856
7856
  }, z.core.$strict>>;
7857
7857
  role: z.ZodOptional<z.ZodString>;
@@ -9008,6 +9008,20 @@ type RecoveryResult = {
9008
9008
  decision: RecoveryDecision$1;
9009
9009
  artifact: RecoveryArtifact | null;
9010
9010
  };
9011
+ type RecoveryArtifactAttemptLogEntry = {
9012
+ attemptNumber: number;
9013
+ scope: "single-command" | "whole-step";
9014
+ representation: "native" | "custom";
9015
+ action: string;
9016
+ outcome: "succeeded" | "failed" | "blocked";
9017
+ };
9018
+ type RecoveryArtifactGenerationInput = {
9019
+ decision: RecoveryDecision$1;
9020
+ failureContext: FailureContext$1;
9021
+ recoverySucceeded: boolean;
9022
+ stoppedReason: string;
9023
+ attemptLog: RecoveryArtifactAttemptLogEntry[];
9024
+ };
9011
9025
  type FailureContext$1 = {
9012
9026
  failedCommand: Command;
9013
9027
  stepDefinitionId: string;
@@ -9027,6 +9041,7 @@ type FailureContext$1 = {
9027
9041
  };
9028
9042
  interface RecoveryController {
9029
9043
  analyzeAndPropose(context: FailureContext$1): Promise<RecoveryResult>;
9044
+ generateRecoveryArtifact?(input: RecoveryArtifactGenerationInput): Promise<RecoveryArtifact | null>;
9030
9045
  }
9031
9046
  type TraceUploadRequestInput = {
9032
9047
  reportId: string;
@@ -9280,6 +9295,8 @@ declare class Tester {
9280
9295
  private onTestCaseFail;
9281
9296
  private isBrowserDerivedCommand;
9282
9297
  private buildFailureContext;
9298
+ private generateRecoveryArtifactForOutcome;
9299
+ private buildStepRepairAttemptLog;
9283
9300
  private getCommandRecoverySelectors;
9284
9301
  private getRecorderStepIndex;
9285
9302
  private restoreAndReplayToStepStartForRepair;