doc-detective-common 4.29.0 → 4.30.0

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/dist/index.cjs CHANGED
@@ -9323,7 +9323,7 @@ var schemas_default = {
9323
9323
  },
9324
9324
  elementText: {
9325
9325
  type: "string",
9326
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
9326
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
9327
9327
  },
9328
9328
  selector: {
9329
9329
  type: "string",
@@ -13469,7 +13469,7 @@ var schemas_default = {
13469
13469
  },
13470
13470
  elementText: {
13471
13471
  type: "string",
13472
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
13472
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
13473
13473
  },
13474
13474
  selector: {
13475
13475
  type: "string",
@@ -18700,7 +18700,7 @@ var schemas_default = {
18700
18700
  },
18701
18701
  elementText: {
18702
18702
  type: "string",
18703
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
18703
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
18704
18704
  },
18705
18705
  elementId: {
18706
18706
  type: "string",
@@ -19232,7 +19232,7 @@ var schemas_default = {
19232
19232
  },
19233
19233
  elementText: {
19234
19234
  type: "string",
19235
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
19235
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
19236
19236
  },
19237
19237
  elementId: {
19238
19238
  type: "string",
@@ -54962,7 +54962,7 @@ var schemas_default = {
54962
54962
  },
54963
54963
  elementText: {
54964
54964
  type: "string",
54965
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
54965
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
54966
54966
  },
54967
54967
  selector: {
54968
54968
  type: "string",
@@ -59108,7 +59108,7 @@ var schemas_default = {
59108
59108
  },
59109
59109
  elementText: {
59110
59110
  type: "string",
59111
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
59111
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
59112
59112
  },
59113
59113
  selector: {
59114
59114
  type: "string",
@@ -64339,7 +64339,7 @@ var schemas_default = {
64339
64339
  },
64340
64340
  elementText: {
64341
64341
  type: "string",
64342
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
64342
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
64343
64343
  },
64344
64344
  elementId: {
64345
64345
  type: "string",
@@ -64871,7 +64871,7 @@ var schemas_default = {
64871
64871
  },
64872
64872
  elementText: {
64873
64873
  type: "string",
64874
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
64874
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
64875
64875
  },
64876
64876
  elementId: {
64877
64877
  type: "string",
@@ -95535,7 +95535,7 @@ var schemas_default = {
95535
95535
  },
95536
95536
  elementText: {
95537
95537
  type: "string",
95538
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
95538
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
95539
95539
  },
95540
95540
  selector: {
95541
95541
  type: "string",
@@ -99681,7 +99681,7 @@ var schemas_default = {
99681
99681
  },
99682
99682
  elementText: {
99683
99683
  type: "string",
99684
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
99684
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
99685
99685
  },
99686
99686
  selector: {
99687
99687
  type: "string",
@@ -103963,7 +103963,7 @@ var schemas_default = {
103963
103963
  },
103964
103964
  elementText: {
103965
103965
  type: "string",
103966
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
103966
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
103967
103967
  },
103968
103968
  elementId: {
103969
103969
  type: "string",
@@ -104495,7 +104495,7 @@ var schemas_default = {
104495
104495
  },
104496
104496
  elementText: {
104497
104497
  type: "string",
104498
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
104498
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
104499
104499
  },
104500
104500
  elementId: {
104501
104501
  type: "string",
@@ -113888,7 +113888,7 @@ var schemas_default = {
113888
113888
  },
113889
113889
  elementText: {
113890
113890
  type: "string",
113891
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
113891
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
113892
113892
  },
113893
113893
  selector: {
113894
113894
  type: "string",
@@ -118034,7 +118034,7 @@ var schemas_default = {
118034
118034
  },
118035
118035
  elementText: {
118036
118036
  type: "string",
118037
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
118037
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
118038
118038
  },
118039
118039
  selector: {
118040
118040
  type: "string",
@@ -123265,7 +123265,7 @@ var schemas_default = {
123265
123265
  },
123266
123266
  elementText: {
123267
123267
  type: "string",
123268
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
123268
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
123269
123269
  },
123270
123270
  elementId: {
123271
123271
  type: "string",
@@ -123797,7 +123797,7 @@ var schemas_default = {
123797
123797
  },
123798
123798
  elementText: {
123799
123799
  type: "string",
123800
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
123800
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
123801
123801
  },
123802
123802
  elementId: {
123803
123803
  type: "string",
@@ -159527,7 +159527,7 @@ var schemas_default = {
159527
159527
  },
159528
159528
  elementText: {
159529
159529
  type: "string",
159530
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
159530
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
159531
159531
  },
159532
159532
  selector: {
159533
159533
  type: "string",
@@ -163673,7 +163673,7 @@ var schemas_default = {
163673
163673
  },
163674
163674
  elementText: {
163675
163675
  type: "string",
163676
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
163676
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
163677
163677
  },
163678
163678
  selector: {
163679
163679
  type: "string",
@@ -168904,7 +168904,7 @@ var schemas_default = {
168904
168904
  },
168905
168905
  elementText: {
168906
168906
  type: "string",
168907
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
168907
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
168908
168908
  },
168909
168909
  elementId: {
168910
168910
  type: "string",
@@ -169436,7 +169436,7 @@ var schemas_default = {
169436
169436
  },
169437
169437
  elementText: {
169438
169438
  type: "string",
169439
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
169439
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
169440
169440
  },
169441
169441
  elementId: {
169442
169442
  type: "string",
@@ -206905,7 +206905,7 @@ var schemas_default = {
206905
206905
  },
206906
206906
  elementText: {
206907
206907
  type: "string",
206908
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
206908
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
206909
206909
  },
206910
206910
  selector: {
206911
206911
  type: "string",
@@ -211051,7 +211051,7 @@ var schemas_default = {
211051
211051
  },
211052
211052
  elementText: {
211053
211053
  type: "string",
211054
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
211054
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
211055
211055
  },
211056
211056
  selector: {
211057
211057
  type: "string",
@@ -216282,7 +216282,7 @@ var schemas_default = {
216282
216282
  },
216283
216283
  elementText: {
216284
216284
  type: "string",
216285
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
216285
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
216286
216286
  },
216287
216287
  elementId: {
216288
216288
  type: "string",
@@ -216814,7 +216814,7 @@ var schemas_default = {
216814
216814
  },
216815
216815
  elementText: {
216816
216816
  type: "string",
216817
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
216817
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
216818
216818
  },
216819
216819
  elementId: {
216820
216820
  type: "string",
@@ -251806,7 +251806,7 @@ var schemas_default = {
251806
251806
  },
251807
251807
  elementText: {
251808
251808
  type: "string",
251809
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
251809
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
251810
251810
  },
251811
251811
  selector: {
251812
251812
  type: "string",
@@ -255952,7 +255952,7 @@ var schemas_default = {
255952
255952
  },
255953
255953
  elementText: {
255954
255954
  type: "string",
255955
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
255955
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
255956
255956
  },
255957
255957
  selector: {
255958
255958
  type: "string",
@@ -261183,7 +261183,7 @@ var schemas_default = {
261183
261183
  },
261184
261184
  elementText: {
261185
261185
  type: "string",
261186
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
261186
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
261187
261187
  },
261188
261188
  elementId: {
261189
261189
  type: "string",
@@ -261715,7 +261715,7 @@ var schemas_default = {
261715
261715
  },
261716
261716
  elementText: {
261717
261717
  type: "string",
261718
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
261718
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
261719
261719
  },
261720
261720
  elementId: {
261721
261721
  type: "string",
@@ -299668,7 +299668,7 @@ var schemas_default = {
299668
299668
  },
299669
299669
  elementText: {
299670
299670
  type: "string",
299671
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
299671
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
299672
299672
  },
299673
299673
  selector: {
299674
299674
  type: "string",
@@ -303814,7 +303814,7 @@ var schemas_default = {
303814
303814
  },
303815
303815
  elementText: {
303816
303816
  type: "string",
303817
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
303817
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
303818
303818
  },
303819
303819
  selector: {
303820
303820
  type: "string",
@@ -309045,7 +309045,7 @@ var schemas_default = {
309045
309045
  },
309046
309046
  elementText: {
309047
309047
  type: "string",
309048
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
309048
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
309049
309049
  },
309050
309050
  elementId: {
309051
309051
  type: "string",
@@ -309577,7 +309577,7 @@ var schemas_default = {
309577
309577
  },
309578
309578
  elementText: {
309579
309579
  type: "string",
309580
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
309580
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
309581
309581
  },
309582
309582
  elementId: {
309583
309583
  type: "string",
@@ -344569,7 +344569,7 @@ var schemas_default = {
344569
344569
  },
344570
344570
  elementText: {
344571
344571
  type: "string",
344572
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
344572
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
344573
344573
  },
344574
344574
  selector: {
344575
344575
  type: "string",
@@ -348715,7 +348715,7 @@ var schemas_default = {
348715
348715
  },
348716
348716
  elementText: {
348717
348717
  type: "string",
348718
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
348718
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
348719
348719
  },
348720
348720
  selector: {
348721
348721
  type: "string",
@@ -353946,7 +353946,7 @@ var schemas_default = {
353946
353946
  },
353947
353947
  elementText: {
353948
353948
  type: "string",
353949
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
353949
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
353950
353950
  },
353951
353951
  elementId: {
353952
353952
  type: "string",
@@ -354478,7 +354478,7 @@ var schemas_default = {
354478
354478
  },
354479
354479
  elementText: {
354480
354480
  type: "string",
354481
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
354481
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
354482
354482
  },
354483
354483
  elementId: {
354484
354484
  type: "string",
@@ -395755,7 +395755,7 @@ var schemas_default = {
395755
395755
  },
395756
395756
  elementText: {
395757
395757
  type: "string",
395758
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
395758
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
395759
395759
  },
395760
395760
  selector: {
395761
395761
  type: "string",
@@ -399901,7 +399901,7 @@ var schemas_default = {
399901
399901
  },
399902
399902
  elementText: {
399903
399903
  type: "string",
399904
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
399904
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
399905
399905
  },
399906
399906
  selector: {
399907
399907
  type: "string",
@@ -405132,7 +405132,7 @@ var schemas_default = {
405132
405132
  },
405133
405133
  elementText: {
405134
405134
  type: "string",
405135
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
405135
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
405136
405136
  },
405137
405137
  elementId: {
405138
405138
  type: "string",
@@ -405664,7 +405664,7 @@ var schemas_default = {
405664
405664
  },
405665
405665
  elementText: {
405666
405666
  type: "string",
405667
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
405667
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
405668
405668
  },
405669
405669
  elementId: {
405670
405670
  type: "string",
@@ -440656,7 +440656,7 @@ var schemas_default = {
440656
440656
  },
440657
440657
  elementText: {
440658
440658
  type: "string",
440659
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
440659
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
440660
440660
  },
440661
440661
  selector: {
440662
440662
  type: "string",
@@ -444802,7 +444802,7 @@ var schemas_default = {
444802
444802
  },
444803
444803
  elementText: {
444804
444804
  type: "string",
444805
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
444805
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
444806
444806
  },
444807
444807
  selector: {
444808
444808
  type: "string",
@@ -450033,7 +450033,7 @@ var schemas_default = {
450033
450033
  },
450034
450034
  elementText: {
450035
450035
  type: "string",
450036
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
450036
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
450037
450037
  },
450038
450038
  elementId: {
450039
450039
  type: "string",
@@ -450565,7 +450565,7 @@ var schemas_default = {
450565
450565
  },
450566
450566
  elementText: {
450567
450567
  type: "string",
450568
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
450568
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
450569
450569
  },
450570
450570
  elementId: {
450571
450571
  type: "string",
@@ -487249,7 +487249,7 @@ var schemas_default = {
487249
487249
  },
487250
487250
  elementText: {
487251
487251
  type: "string",
487252
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
487252
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
487253
487253
  },
487254
487254
  selector: {
487255
487255
  type: "string",
@@ -491395,7 +491395,7 @@ var schemas_default = {
491395
491395
  },
491396
491396
  elementText: {
491397
491397
  type: "string",
491398
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
491398
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
491399
491399
  },
491400
491400
  selector: {
491401
491401
  type: "string",
@@ -496626,7 +496626,7 @@ var schemas_default = {
496626
496626
  },
496627
496627
  elementText: {
496628
496628
  type: "string",
496629
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
496629
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
496630
496630
  },
496631
496631
  elementId: {
496632
496632
  type: "string",
@@ -497158,7 +497158,7 @@ var schemas_default = {
497158
497158
  },
497159
497159
  elementText: {
497160
497160
  type: "string",
497161
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
497161
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
497162
497162
  },
497163
497163
  elementId: {
497164
497164
  type: "string",
@@ -535495,7 +535495,7 @@ var schemas_default = {
535495
535495
  },
535496
535496
  elementText: {
535497
535497
  type: "string",
535498
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
535498
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
535499
535499
  },
535500
535500
  selector: {
535501
535501
  type: "string",
@@ -539641,7 +539641,7 @@ var schemas_default = {
539641
539641
  },
539642
539642
  elementText: {
539643
539643
  type: "string",
539644
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
539644
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
539645
539645
  },
539646
539646
  selector: {
539647
539647
  type: "string",
@@ -544872,7 +544872,7 @@ var schemas_default = {
544872
544872
  },
544873
544873
  elementText: {
544874
544874
  type: "string",
544875
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
544875
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
544876
544876
  },
544877
544877
  elementId: {
544878
544878
  type: "string",
@@ -545404,7 +545404,7 @@ var schemas_default = {
545404
545404
  },
545405
545405
  elementText: {
545406
545406
  type: "string",
545407
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
545407
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
545408
545408
  },
545409
545409
  elementId: {
545410
545410
  type: "string",
@@ -580396,7 +580396,7 @@ var schemas_default = {
580396
580396
  },
580397
580397
  elementText: {
580398
580398
  type: "string",
580399
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
580399
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
580400
580400
  },
580401
580401
  selector: {
580402
580402
  type: "string",
@@ -584542,7 +584542,7 @@ var schemas_default = {
584542
584542
  },
584543
584543
  elementText: {
584544
584544
  type: "string",
584545
- description: "Display text of the element to find. If combined with other element finding fields, the element must match all specified criteria."
584545
+ description: "Display text of the element to find. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed to single spaces), so text a framework splits across several nodes still matches and a driver's surrounding whitespace doesn't cause a miss. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text. If combined with other element finding fields, the element must match all specified criteria."
584546
584546
  },
584547
584547
  selector: {
584548
584548
  type: "string",
@@ -589773,7 +589773,7 @@ var schemas_default = {
589773
589773
  },
589774
589774
  elementText: {
589775
589775
  type: "string",
589776
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
589776
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
589777
589777
  },
589778
589778
  elementId: {
589779
589779
  type: "string",
@@ -590305,7 +590305,7 @@ var schemas_default = {
590305
590305
  },
590306
590306
  elementText: {
590307
590307
  type: "string",
590308
- description: "Text content the element must contain. Supports exact match or regex pattern using /pattern/ syntax."
590308
+ description: "Display text of the element to wait for. Matched against the element's full visible text with whitespace normalized (leading/trailing trimmed, internal runs collapsed), so framework-fragmented text still matches. Wrap the value in slashes (`/pattern/`) to match a substring by regular expression instead of the whole normalized text."
590309
590309
  },
590310
590310
  elementId: {
590311
590311
  type: "string",
@@ -631870,12 +631870,26 @@ var ajv = new import_ajv.default({
631870
631870
  allowUnionTypes: true,
631871
631871
  coerceTypes: true
631872
631872
  });
631873
+ var ajvCheck = new import_ajv.default({
631874
+ strictSchema: false,
631875
+ useDefaults: false,
631876
+ allErrors: true,
631877
+ allowUnionTypes: true,
631878
+ coerceTypes: false
631879
+ });
631873
631880
  import_dynamicDefaults.default.DEFAULTS.uuid = (_args) => getRandomUUID;
631874
631881
  (0, import_ajv_formats.default)(ajv);
631875
631882
  (0, import_ajv_keywords.default)(ajv);
631876
631883
  (0, import_ajv_errors.default)(ajv);
631884
+ (0, import_ajv_formats.default)(ajvCheck);
631885
+ (0, import_ajv_keywords.default)(ajvCheck);
631886
+ (0, import_ajv_errors.default)(ajvCheck);
631877
631887
  for (const [key, value] of Object.entries(schemas)) {
631878
631888
  ajv.addSchema(value, key);
631889
+ ajvCheck.addSchema(value, key);
631890
+ }
631891
+ function cloneForValidation(object) {
631892
+ return JSON.parse(JSON.stringify(object));
631879
631893
  }
631880
631894
  var compatibleSchemas = {
631881
631895
  config_v3: ["config_v2"],
@@ -631898,10 +631912,13 @@ var compatibleSchemas = {
631898
631912
  ],
631899
631913
  test_v3: ["test_v2"]
631900
631914
  };
631915
+ function snapshotErrors(errors) {
631916
+ return errors.map((error) => ({ ...error }));
631917
+ }
631901
631918
  function escapeRegExp(string) {
631902
631919
  return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
631903
631920
  }
631904
- function validate({ schemaKey, object, addDefaults = true }) {
631921
+ function validate({ schemaKey, object, addDefaults = true, structuredErrors = false }) {
631905
631922
  if (!schemaKey) {
631906
631923
  throw new Error("Schema key is required.");
631907
631924
  }
@@ -631913,6 +631930,9 @@ function validate({ schemaKey, object, addDefaults = true }) {
631913
631930
  errors: "",
631914
631931
  object
631915
631932
  };
631933
+ if (structuredErrors) {
631934
+ result.errorObjects = [];
631935
+ }
631916
631936
  let validationObject;
631917
631937
  let check = ajv.getSchema(schemaKey);
631918
631938
  if (!check) {
@@ -631921,29 +631941,43 @@ function validate({ schemaKey, object, addDefaults = true }) {
631921
631941
  result.object = object;
631922
631942
  return result;
631923
631943
  }
631924
- validationObject = JSON.parse(JSON.stringify(object));
631944
+ validationObject = cloneForValidation(object);
631925
631945
  result.valid = check(validationObject);
631926
631946
  result.errors = "";
631927
631947
  if (check.errors) {
631948
+ const targetErrors = check.errors;
631928
631949
  const compatibleSchemasList = compatibleSchemas[schemaKey];
631929
631950
  if (!compatibleSchemasList) {
631930
- result.errors = check.errors.map((error) => `${error.instancePath} ${error.message} (${JSON.stringify(error.params)})`).join(", ");
631951
+ result.errors = targetErrors.map((error) => `${error.instancePath} ${error.message} (${JSON.stringify(error.params)})`).join(", ");
631952
+ if (structuredErrors) {
631953
+ result.errorObjects = snapshotErrors(targetErrors);
631954
+ }
631931
631955
  result.object = object;
631932
631956
  result.valid = false;
631933
631957
  return result;
631934
631958
  }
631935
- const matchedSchemaKey = compatibleSchemasList.find((key) => {
631936
- validationObject = JSON.parse(JSON.stringify(object));
631937
- const check2 = ajv.getSchema(key);
631938
- if (check2 && check2(validationObject))
631939
- return key;
631959
+ let matchedSchemaKey = compatibleSchemasList.find((key) => {
631960
+ const probe = ajvCheck.getSchema(key);
631961
+ return probe(object);
631940
631962
  });
631941
631963
  if (!matchedSchemaKey) {
631942
- result.errors = check.errors.map((error) => `${error.instancePath} ${error.message} (${JSON.stringify(error.params)})`).join(", ");
631964
+ matchedSchemaKey = compatibleSchemasList.find((key) => {
631965
+ const mutatingCheck = ajv.getSchema(key);
631966
+ return mutatingCheck(cloneForValidation(object));
631967
+ });
631968
+ }
631969
+ if (!matchedSchemaKey) {
631970
+ result.errors = targetErrors.map((error) => `${error.instancePath} ${error.message} (${JSON.stringify(error.params)})`).join(", ");
631971
+ if (structuredErrors) {
631972
+ result.errorObjects = snapshotErrors(targetErrors);
631973
+ }
631943
631974
  result.object = object;
631944
631975
  result.valid = false;
631945
631976
  return result;
631946
631977
  } else {
631978
+ validationObject = cloneForValidation(object);
631979
+ const matchedCheck = ajv.getSchema(matchedSchemaKey);
631980
+ matchedCheck(validationObject);
631947
631981
  const transformedObject = transformToSchemaKey({
631948
631982
  currentSchema: matchedSchemaKey,
631949
631983
  targetSchema: schemaKey,