askui 0.20.1 → 0.20.2
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/cjs/execution/dsl.d.ts +177 -49
- package/dist/cjs/execution/dsl.js +224 -96
- package/dist/esm/execution/dsl.d.ts +177 -49
- package/dist/esm/execution/dsl.js +224 -96
- package/package.json +3 -3
|
@@ -211,6 +211,7 @@ export class FluentFilters extends FluentBase {
|
|
|
211
211
|
return new FluentFiltersOrRelations(this);
|
|
212
212
|
}
|
|
213
213
|
/**
|
|
214
|
+
* Filters for a UI element 'table'.
|
|
214
215
|
*
|
|
215
216
|
* @return {FluentFiltersOrRelations}
|
|
216
217
|
*/
|
|
@@ -239,6 +240,8 @@ export class FluentFilters extends FluentBase {
|
|
|
239
240
|
* await aui.click().text().withTextRegex('\b[Ss]\w+').exec();
|
|
240
241
|
* ```
|
|
241
242
|
*
|
|
243
|
+
* @param {string} [text] - A text to be matched.
|
|
244
|
+
*
|
|
242
245
|
* @return {FluentFiltersOrRelations}
|
|
243
246
|
*/
|
|
244
247
|
text(text) {
|
|
@@ -271,9 +274,9 @@ export class FluentFilters extends FluentBase {
|
|
|
271
274
|
return new FluentFiltersOrRelations(this);
|
|
272
275
|
}
|
|
273
276
|
/**
|
|
274
|
-
* Filters for a 'custom element', that is a UI element
|
|
277
|
+
* Filters for a 'custom element', that is a UI element that is defined by providing an image and other parameters such as degree of rotation. It allows filtering for a UI element based on an image instead of using text or element descriptions like `button().withText('Submit')` in `await aui.click().button().withText('Submit').exec()`.
|
|
275
278
|
*
|
|
276
|
-
* See the tutorial - [Custom Element](https://docs.askui.com/docs/general/
|
|
279
|
+
* See the tutorial - [Custom Element](https://docs.askui.com/docs/general/Element%20Selection/custom-elements) for more details.
|
|
277
280
|
*
|
|
278
281
|
* **Example**
|
|
279
282
|
* ```typescript
|
|
@@ -304,7 +307,7 @@ export class FluentFilters extends FluentBase {
|
|
|
304
307
|
* - **rotationDegreePerStep** (*`number`, optional*):
|
|
305
308
|
* - Step size in rotation degree. Rotates the custom image by this step size until 360° is exceeded. The range is from `0` to `360`. Defaults to `0`.
|
|
306
309
|
* - **imageCompareFormat** (*`'RGB' | 'grayscale' | 'edges'`, optional*):
|
|
307
|
-
* - The color compare style. 'edges' compares only edges, 'greyscale' compares the brightness of each pixel whereas 'RGB' compares all three colors (red, green, blue). Defaults to 'grayscale'
|
|
310
|
+
* - The color compare style. `'edges'` compares only edges, `'greyscale'` compares the brightness of each pixel whereas `'RGB'` compares all three colors (red, green, blue). Defaults to `'grayscale'`.
|
|
308
311
|
*
|
|
309
312
|
*
|
|
310
313
|
* @param {CustomElementJson} customElement - The custom element to filter for.
|
|
@@ -319,7 +322,13 @@ export class FluentFilters extends FluentBase {
|
|
|
319
322
|
return new FluentFiltersOrRelations(this);
|
|
320
323
|
}
|
|
321
324
|
/**
|
|
322
|
-
* Detects an AI Element created with the workflow
|
|
325
|
+
* Detects an AI Element created with the [snipping workflow](https://docs.askui.com/docs/general/Components/aielement#snipping-workflow).
|
|
326
|
+
*
|
|
327
|
+
* **Examples:**
|
|
328
|
+
*
|
|
329
|
+
* ```typescript
|
|
330
|
+
* await aui.click().aiElement('askui-logo').exec();
|
|
331
|
+
* ```
|
|
323
332
|
*
|
|
324
333
|
* @param {string} aiElementName - Name of the AI Element.
|
|
325
334
|
*
|
|
@@ -407,12 +416,13 @@ export class FluentFilters extends FluentBase {
|
|
|
407
416
|
* 'other' === withText('text') => false
|
|
408
417
|
*
|
|
409
418
|
* // optional parameter: similarity_score
|
|
410
|
-
* '978-0-201-00650-6' == withText(
|
|
411
|
-
* '978-0-201-00650-6' == withText(
|
|
419
|
+
* '978-0-201-00650-6' == withText("978-0-201-00", 90) => false with 82.76 < 90 similarity
|
|
420
|
+
* '978-0-201-00650-6' == withText("978-0-201-00650", 90) => true with 93.75 > 90 similarity
|
|
412
421
|
* ```
|
|
413
422
|
* 
|
|
414
423
|
*
|
|
415
424
|
* @param {string} text - A text to be matched.
|
|
425
|
+
* @param {number} [similarityScore=70] - Similarity score minimum value, it should be between `0` and `100`.
|
|
416
426
|
*
|
|
417
427
|
* @return {FluentFiltersOrRelations}
|
|
418
428
|
*/
|
|
@@ -522,7 +532,7 @@ export class FluentFilters extends FluentBase {
|
|
|
522
532
|
* E.g., `puzzle piece` can fail while `an icon showing a puzzle piece` might work.
|
|
523
533
|
* Generally, the more detail the better.
|
|
524
534
|
*
|
|
525
|
-
* We also recommend to not restrict the type of element by using the
|
|
535
|
+
* We also recommend to not restrict the type of element by using the general selector `element()` as shown in the examples below.
|
|
526
536
|
*
|
|
527
537
|
* **Examples:**
|
|
528
538
|
* ```typescript
|
|
@@ -694,7 +704,12 @@ export class FluentFiltersOrRelations extends FluentFilters {
|
|
|
694
704
|
/**
|
|
695
705
|
* Filters for an element right of another element.
|
|
696
706
|
*
|
|
697
|
-
* Takes an optional parameter `index` to select the
|
|
707
|
+
* Takes an optional parameter `index` to select the nth element (defaults to `0`).
|
|
708
|
+
*
|
|
709
|
+
* Takes an optional parameter `intersection_area` to specify which elements right of the other element are filtered for based on their vertical position (y-coordinates of bounding box):
|
|
710
|
+
* - `"element_center_line"` - considered right of the other element if element's bounding box intersects with a horizontal line passing through the center of the other element
|
|
711
|
+
* - `"element_edge_area"` - considered right of the other element if element's bounding box intersects with an area between the top and the bottom edge of the other element
|
|
712
|
+
* - `"display_edge_area"` - considered right of the other element no matter where it is placed vertically on the screen (y-axis)
|
|
698
713
|
*
|
|
699
714
|
* **Examples:**
|
|
700
715
|
* ```typescript
|
|
@@ -712,24 +727,32 @@ export class FluentFiltersOrRelations extends FluentFilters {
|
|
|
712
727
|
* ```
|
|
713
728
|
* 
|
|
714
729
|
*
|
|
730
|
+
* @param {number} [index=0] - Index of element to filter for going into the direction specified. Defaults to `0` which is the first element (zero-indexed) found in that direction.
|
|
731
|
+
* @param {INTERSECTION_AREA} [intersection_area="element_edge_area"] - Intersecting with either `"element_center_line"`, `"element_edge_area"` or `"display_edge_area"`. Defaults to `"element_edge_area"`.
|
|
732
|
+
*
|
|
715
733
|
* @return {FluentFilters}
|
|
716
734
|
*/
|
|
717
|
-
rightOf(
|
|
735
|
+
rightOf(index = 0, intersection_area = 'element_edge_area') {
|
|
718
736
|
this._textStr = '';
|
|
719
|
-
if (
|
|
720
|
-
this._textStr += `index ${
|
|
737
|
+
if (index !== undefined) {
|
|
738
|
+
this._textStr += `index ${index}`;
|
|
721
739
|
}
|
|
722
740
|
this._textStr += ' right';
|
|
723
741
|
this._textStr += ' of';
|
|
724
|
-
if (
|
|
725
|
-
this._textStr += `
|
|
742
|
+
if (intersection_area !== undefined) {
|
|
743
|
+
this._textStr += ` intersection_area ${intersection_area}`;
|
|
726
744
|
}
|
|
727
745
|
return new FluentFilters(this);
|
|
728
746
|
}
|
|
729
747
|
/**
|
|
730
748
|
* Filters for an element left of another element.
|
|
731
749
|
*
|
|
732
|
-
* Takes an optional parameter `index` to select the
|
|
750
|
+
* Takes an optional parameter `index` to select the nth element (defaults to `0`).
|
|
751
|
+
*
|
|
752
|
+
* Takes an optional parameter `intersection_area` to specify which elements left of the other element are filtered for based on their vertical position (y-coordinates of bounding box):
|
|
753
|
+
* - `"element_center_line"` - considered left of the other element if element's bounding box intersects with a horizontal line passing through the center of the other element
|
|
754
|
+
* - `"element_edge_area"` - considered left of the other element if element's bounding box intersects with an area between the top and the bottom edge of the other element
|
|
755
|
+
* - `"display_edge_area"` - considered left of the other element no matter where it is placed vertically on the screen (y-axis)
|
|
733
756
|
*
|
|
734
757
|
* **Examples:**
|
|
735
758
|
* ```typescript
|
|
@@ -747,24 +770,32 @@ export class FluentFiltersOrRelations extends FluentFilters {
|
|
|
747
770
|
* ```
|
|
748
771
|
* 
|
|
749
772
|
*
|
|
773
|
+
* @param {number} [index=0] - Index of element to filter for going into the direction specified. Defaults to `0` which is the first element (zero-indexed) found in that direction.
|
|
774
|
+
* @param {INTERSECTION_AREA} [intersection_area="element_edge_area"] - Intersecting with either `"element_center_line"`, `"element_edge_area"` or `"display_edge_area"`. Defaults to `"element_edge_area"`.
|
|
775
|
+
*
|
|
750
776
|
* @return {FluentFilters}
|
|
751
777
|
*/
|
|
752
|
-
leftOf(
|
|
778
|
+
leftOf(index = 0, intersection_area = 'element_edge_area') {
|
|
753
779
|
this._textStr = '';
|
|
754
|
-
if (
|
|
755
|
-
this._textStr += `index ${
|
|
780
|
+
if (index !== undefined) {
|
|
781
|
+
this._textStr += `index ${index}`;
|
|
756
782
|
}
|
|
757
783
|
this._textStr += ' left';
|
|
758
784
|
this._textStr += ' of';
|
|
759
|
-
if (
|
|
760
|
-
this._textStr += `
|
|
785
|
+
if (intersection_area !== undefined) {
|
|
786
|
+
this._textStr += ` intersection_area ${intersection_area}`;
|
|
761
787
|
}
|
|
762
788
|
return new FluentFilters(this);
|
|
763
789
|
}
|
|
764
790
|
/**
|
|
765
791
|
* Filters for an element below another element.
|
|
766
792
|
*
|
|
767
|
-
* Takes an optional parameter `index` to select the
|
|
793
|
+
* Takes an optional parameter `index` to select the nth element (defaults to `0`).
|
|
794
|
+
*
|
|
795
|
+
* Takes an optional parameter `intersection_area` to specify which elements below of the other element are filtered for based on their horizontal position (y-coordinates of bounding box):
|
|
796
|
+
* - `"element_center_line"` - considered below of the other element if element's bounding box intersects with a vertical line passing through the center of the other element
|
|
797
|
+
* - `"element_edge_area"` - considered below of the other element if element's bounding box intersects with an area between the left and the right edge of the other element
|
|
798
|
+
* - `"display_edge_area"` - considered below of the other element no matter where it is placed horizontally on the screen (y-axis)
|
|
768
799
|
*
|
|
769
800
|
* **Examples:**
|
|
770
801
|
* ```typescript
|
|
@@ -788,23 +819,31 @@ export class FluentFiltersOrRelations extends FluentFilters {
|
|
|
788
819
|
* ```
|
|
789
820
|
* 
|
|
790
821
|
*
|
|
822
|
+
* @param {number} [index=0] - Index of element to filter for going into the direction specified. Defaults to `0` which is the first element (zero-indexed) found in that direction.
|
|
823
|
+
* @param {INTERSECTION_AREA} [intersection_area="element_edge_area"] - Intersecting with either `"element_center_line"`, `"element_edge_area"` or `"display_edge_area"`. Defaults to `"element_edge_area"`.
|
|
824
|
+
*
|
|
791
825
|
* @return {FluentFilters}
|
|
792
826
|
*/
|
|
793
|
-
below(
|
|
827
|
+
below(index = 0, intersection_area = 'element_edge_area') {
|
|
794
828
|
this._textStr = '';
|
|
795
|
-
if (
|
|
796
|
-
this._textStr += `index ${
|
|
829
|
+
if (index !== undefined) {
|
|
830
|
+
this._textStr += `index ${index}`;
|
|
797
831
|
}
|
|
798
832
|
this._textStr += ' below';
|
|
799
|
-
if (
|
|
800
|
-
this._textStr += `
|
|
833
|
+
if (intersection_area !== undefined) {
|
|
834
|
+
this._textStr += ` intersection_area ${intersection_area}`;
|
|
801
835
|
}
|
|
802
836
|
return new FluentFilters(this);
|
|
803
837
|
}
|
|
804
838
|
/**
|
|
805
839
|
* Filters for an element above another element.
|
|
806
840
|
*
|
|
807
|
-
* Takes an optional parameter `index` to select the
|
|
841
|
+
* Takes an optional parameter `index` to select the nth element (defaults to `0`).
|
|
842
|
+
*
|
|
843
|
+
* Takes an optional parameter `intersection_area` to specify which elements above of the other element are filtered for based on their horizontal position (y-coordinates of bounding box):
|
|
844
|
+
* - `"element_center_line"` - considered above of the other element if element's bounding box intersects with a vertical line passing through the center of the other element
|
|
845
|
+
* - `"element_edge_area"` - considered above of the other element if element's bounding box intersects with an area between the left and the right edge of the other element
|
|
846
|
+
* - `"display_edge_area"` - considered above of the other element no matter where it is placed horizontally on the screen (y-axis)
|
|
808
847
|
*
|
|
809
848
|
* **Examples:**
|
|
810
849
|
* ```typescript
|
|
@@ -828,16 +867,19 @@ export class FluentFiltersOrRelations extends FluentFilters {
|
|
|
828
867
|
* ```
|
|
829
868
|
* 
|
|
830
869
|
*
|
|
870
|
+
* @param {number} [index=0] - Index of element to filter for going into the direction specified. Defaults to `0` which is the first element (zero-indexed) found in that direction.
|
|
871
|
+
* @param {INTERSECTION_AREA} [intersection_area="element_edge_area"] - Intersecting with either `"element_center_line"`, `"element_edge_area"` or `"display_edge_area"`. Defaults to `"element_edge_area"`.
|
|
872
|
+
*
|
|
831
873
|
* @return {FluentFilters}
|
|
832
874
|
*/
|
|
833
|
-
above(
|
|
875
|
+
above(index = 0, intersection_area = 'element_edge_area') {
|
|
834
876
|
this._textStr = '';
|
|
835
|
-
if (
|
|
836
|
-
this._textStr += `index ${
|
|
877
|
+
if (index !== undefined) {
|
|
878
|
+
this._textStr += `index ${index}`;
|
|
837
879
|
}
|
|
838
880
|
this._textStr += ' above';
|
|
839
|
-
if (
|
|
840
|
-
this._textStr += `
|
|
881
|
+
if (intersection_area !== undefined) {
|
|
882
|
+
this._textStr += ` intersection_area ${intersection_area}`;
|
|
841
883
|
}
|
|
842
884
|
return new FluentFilters(this);
|
|
843
885
|
}
|
|
@@ -1043,6 +1085,7 @@ export class FluentFiltersCondition extends FluentBase {
|
|
|
1043
1085
|
return new FluentFiltersOrRelationsCondition(this);
|
|
1044
1086
|
}
|
|
1045
1087
|
/**
|
|
1088
|
+
* Filters for a UI element 'table'.
|
|
1046
1089
|
*
|
|
1047
1090
|
* @return {FluentFiltersOrRelationsCondition}
|
|
1048
1091
|
*/
|
|
@@ -1071,6 +1114,8 @@ export class FluentFiltersCondition extends FluentBase {
|
|
|
1071
1114
|
* await aui.click().text().withTextRegex('\b[Ss]\w+').exec();
|
|
1072
1115
|
* ```
|
|
1073
1116
|
*
|
|
1117
|
+
* @param {string} [text] - A text to be matched.
|
|
1118
|
+
*
|
|
1074
1119
|
* @return {FluentFiltersOrRelationsCondition}
|
|
1075
1120
|
*/
|
|
1076
1121
|
text(text) {
|
|
@@ -1103,9 +1148,9 @@ export class FluentFiltersCondition extends FluentBase {
|
|
|
1103
1148
|
return new FluentFiltersOrRelationsCondition(this);
|
|
1104
1149
|
}
|
|
1105
1150
|
/**
|
|
1106
|
-
* Filters for a 'custom element', that is a UI element
|
|
1151
|
+
* Filters for a 'custom element', that is a UI element that is defined by providing an image and other parameters such as degree of rotation. It allows filtering for a UI element based on an image instead of using text or element descriptions like `button().withText('Submit')` in `await aui.click().button().withText('Submit').exec()`.
|
|
1107
1152
|
*
|
|
1108
|
-
* See the tutorial - [Custom Element](https://docs.askui.com/docs/general/
|
|
1153
|
+
* See the tutorial - [Custom Element](https://docs.askui.com/docs/general/Element%20Selection/custom-elements) for more details.
|
|
1109
1154
|
*
|
|
1110
1155
|
* **Example**
|
|
1111
1156
|
* ```typescript
|
|
@@ -1136,7 +1181,7 @@ export class FluentFiltersCondition extends FluentBase {
|
|
|
1136
1181
|
* - **rotationDegreePerStep** (*`number`, optional*):
|
|
1137
1182
|
* - Step size in rotation degree. Rotates the custom image by this step size until 360° is exceeded. The range is from `0` to `360`. Defaults to `0`.
|
|
1138
1183
|
* - **imageCompareFormat** (*`'RGB' | 'grayscale' | 'edges'`, optional*):
|
|
1139
|
-
* - The color compare style. 'edges' compares only edges, 'greyscale' compares the brightness of each pixel whereas 'RGB' compares all three colors (red, green, blue). Defaults to 'grayscale'
|
|
1184
|
+
* - The color compare style. `'edges'` compares only edges, `'greyscale'` compares the brightness of each pixel whereas `'RGB'` compares all three colors (red, green, blue). Defaults to `'grayscale'`.
|
|
1140
1185
|
*
|
|
1141
1186
|
*
|
|
1142
1187
|
* @param {CustomElementJson} customElement - The custom element to filter for.
|
|
@@ -1151,7 +1196,13 @@ export class FluentFiltersCondition extends FluentBase {
|
|
|
1151
1196
|
return new FluentFiltersOrRelationsCondition(this);
|
|
1152
1197
|
}
|
|
1153
1198
|
/**
|
|
1154
|
-
* Detects an AI Element created with the workflow
|
|
1199
|
+
* Detects an AI Element created with the [snipping workflow](https://docs.askui.com/docs/general/Components/aielement#snipping-workflow).
|
|
1200
|
+
*
|
|
1201
|
+
* **Examples:**
|
|
1202
|
+
*
|
|
1203
|
+
* ```typescript
|
|
1204
|
+
* await aui.click().aiElement('askui-logo').exec();
|
|
1205
|
+
* ```
|
|
1155
1206
|
*
|
|
1156
1207
|
* @param {string} aiElementName - Name of the AI Element.
|
|
1157
1208
|
*
|
|
@@ -1239,12 +1290,13 @@ export class FluentFiltersCondition extends FluentBase {
|
|
|
1239
1290
|
* 'other' === withText('text') => false
|
|
1240
1291
|
*
|
|
1241
1292
|
* // optional parameter: similarity_score
|
|
1242
|
-
* '978-0-201-00650-6' == withText(
|
|
1243
|
-
* '978-0-201-00650-6' == withText(
|
|
1293
|
+
* '978-0-201-00650-6' == withText("978-0-201-00", 90) => false with 82.76 < 90 similarity
|
|
1294
|
+
* '978-0-201-00650-6' == withText("978-0-201-00650", 90) => true with 93.75 > 90 similarity
|
|
1244
1295
|
* ```
|
|
1245
1296
|
* 
|
|
1246
1297
|
*
|
|
1247
1298
|
* @param {string} text - A text to be matched.
|
|
1299
|
+
* @param {number} [similarityScore=70] - Similarity score minimum value, it should be between `0` and `100`.
|
|
1248
1300
|
*
|
|
1249
1301
|
* @return {FluentFiltersOrRelationsCondition}
|
|
1250
1302
|
*/
|
|
@@ -1354,7 +1406,7 @@ export class FluentFiltersCondition extends FluentBase {
|
|
|
1354
1406
|
* E.g., `puzzle piece` can fail while `an icon showing a puzzle piece` might work.
|
|
1355
1407
|
* Generally, the more detail the better.
|
|
1356
1408
|
*
|
|
1357
|
-
* We also recommend to not restrict the type of element by using the
|
|
1409
|
+
* We also recommend to not restrict the type of element by using the general selector `element()` as shown in the examples below.
|
|
1358
1410
|
*
|
|
1359
1411
|
* **Examples:**
|
|
1360
1412
|
* ```typescript
|
|
@@ -1526,7 +1578,12 @@ export class FluentFiltersOrRelationsCondition extends FluentFiltersCondition {
|
|
|
1526
1578
|
/**
|
|
1527
1579
|
* Filters for an element right of another element.
|
|
1528
1580
|
*
|
|
1529
|
-
* Takes an optional parameter `index` to select the
|
|
1581
|
+
* Takes an optional parameter `index` to select the nth element (defaults to `0`).
|
|
1582
|
+
*
|
|
1583
|
+
* Takes an optional parameter `intersection_area` to specify which elements right of the other element are filtered for based on their vertical position (y-coordinates of bounding box):
|
|
1584
|
+
* - `"element_center_line"` - considered right of the other element if element's bounding box intersects with a horizontal line passing through the center of the other element
|
|
1585
|
+
* - `"element_edge_area"` - considered right of the other element if element's bounding box intersects with an area between the top and the bottom edge of the other element
|
|
1586
|
+
* - `"display_edge_area"` - considered right of the other element no matter where it is placed vertically on the screen (y-axis)
|
|
1530
1587
|
*
|
|
1531
1588
|
* **Examples:**
|
|
1532
1589
|
* ```typescript
|
|
@@ -1544,24 +1601,32 @@ export class FluentFiltersOrRelationsCondition extends FluentFiltersCondition {
|
|
|
1544
1601
|
* ```
|
|
1545
1602
|
* 
|
|
1546
1603
|
*
|
|
1604
|
+
* @param {number} [index=0] - Index of element to filter for going into the direction specified. Defaults to `0` which is the first element (zero-indexed) found in that direction.
|
|
1605
|
+
* @param {INTERSECTION_AREA} [intersection_area="element_edge_area"] - Intersecting with either `"element_center_line"`, `"element_edge_area"` or `"display_edge_area"`. Defaults to `"element_edge_area"`.
|
|
1606
|
+
*
|
|
1547
1607
|
* @return {FluentFiltersCondition}
|
|
1548
1608
|
*/
|
|
1549
|
-
rightOf(
|
|
1609
|
+
rightOf(index = 0, intersection_area = 'element_edge_area') {
|
|
1550
1610
|
this._textStr = '';
|
|
1551
|
-
if (
|
|
1552
|
-
this._textStr += `index ${
|
|
1611
|
+
if (index !== undefined) {
|
|
1612
|
+
this._textStr += `index ${index}`;
|
|
1553
1613
|
}
|
|
1554
1614
|
this._textStr += ' right';
|
|
1555
1615
|
this._textStr += ' of';
|
|
1556
|
-
if (
|
|
1557
|
-
this._textStr += `
|
|
1616
|
+
if (intersection_area !== undefined) {
|
|
1617
|
+
this._textStr += ` intersection_area ${intersection_area}`;
|
|
1558
1618
|
}
|
|
1559
1619
|
return new FluentFiltersCondition(this);
|
|
1560
1620
|
}
|
|
1561
1621
|
/**
|
|
1562
1622
|
* Filters for an element left of another element.
|
|
1563
1623
|
*
|
|
1564
|
-
* Takes an optional parameter `index` to select the
|
|
1624
|
+
* Takes an optional parameter `index` to select the nth element (defaults to `0`).
|
|
1625
|
+
*
|
|
1626
|
+
* Takes an optional parameter `intersection_area` to specify which elements left of the other element are filtered for based on their vertical position (y-coordinates of bounding box):
|
|
1627
|
+
* - `"element_center_line"` - considered left of the other element if element's bounding box intersects with a horizontal line passing through the center of the other element
|
|
1628
|
+
* - `"element_edge_area"` - considered left of the other element if element's bounding box intersects with an area between the top and the bottom edge of the other element
|
|
1629
|
+
* - `"display_edge_area"` - considered left of the other element no matter where it is placed vertically on the screen (y-axis)
|
|
1565
1630
|
*
|
|
1566
1631
|
* **Examples:**
|
|
1567
1632
|
* ```typescript
|
|
@@ -1579,24 +1644,32 @@ export class FluentFiltersOrRelationsCondition extends FluentFiltersCondition {
|
|
|
1579
1644
|
* ```
|
|
1580
1645
|
* 
|
|
1581
1646
|
*
|
|
1647
|
+
* @param {number} [index=0] - Index of element to filter for going into the direction specified. Defaults to `0` which is the first element (zero-indexed) found in that direction.
|
|
1648
|
+
* @param {INTERSECTION_AREA} [intersection_area="element_edge_area"] - Intersecting with either `"element_center_line"`, `"element_edge_area"` or `"display_edge_area"`. Defaults to `"element_edge_area"`.
|
|
1649
|
+
*
|
|
1582
1650
|
* @return {FluentFiltersCondition}
|
|
1583
1651
|
*/
|
|
1584
|
-
leftOf(
|
|
1652
|
+
leftOf(index = 0, intersection_area = 'element_edge_area') {
|
|
1585
1653
|
this._textStr = '';
|
|
1586
|
-
if (
|
|
1587
|
-
this._textStr += `index ${
|
|
1654
|
+
if (index !== undefined) {
|
|
1655
|
+
this._textStr += `index ${index}`;
|
|
1588
1656
|
}
|
|
1589
1657
|
this._textStr += ' left';
|
|
1590
1658
|
this._textStr += ' of';
|
|
1591
|
-
if (
|
|
1592
|
-
this._textStr += `
|
|
1659
|
+
if (intersection_area !== undefined) {
|
|
1660
|
+
this._textStr += ` intersection_area ${intersection_area}`;
|
|
1593
1661
|
}
|
|
1594
1662
|
return new FluentFiltersCondition(this);
|
|
1595
1663
|
}
|
|
1596
1664
|
/**
|
|
1597
1665
|
* Filters for an element below another element.
|
|
1598
1666
|
*
|
|
1599
|
-
* Takes an optional parameter `index` to select the
|
|
1667
|
+
* Takes an optional parameter `index` to select the nth element (defaults to `0`).
|
|
1668
|
+
*
|
|
1669
|
+
* Takes an optional parameter `intersection_area` to specify which elements below of the other element are filtered for based on their horizontal position (y-coordinates of bounding box):
|
|
1670
|
+
* - `"element_center_line"` - considered below of the other element if element's bounding box intersects with a vertical line passing through the center of the other element
|
|
1671
|
+
* - `"element_edge_area"` - considered below of the other element if element's bounding box intersects with an area between the left and the right edge of the other element
|
|
1672
|
+
* - `"display_edge_area"` - considered below of the other element no matter where it is placed horizontally on the screen (y-axis)
|
|
1600
1673
|
*
|
|
1601
1674
|
* **Examples:**
|
|
1602
1675
|
* ```typescript
|
|
@@ -1620,23 +1693,31 @@ export class FluentFiltersOrRelationsCondition extends FluentFiltersCondition {
|
|
|
1620
1693
|
* ```
|
|
1621
1694
|
* 
|
|
1622
1695
|
*
|
|
1696
|
+
* @param {number} [index=0] - Index of element to filter for going into the direction specified. Defaults to `0` which is the first element (zero-indexed) found in that direction.
|
|
1697
|
+
* @param {INTERSECTION_AREA} [intersection_area="element_edge_area"] - Intersecting with either `"element_center_line"`, `"element_edge_area"` or `"display_edge_area"`. Defaults to `"element_edge_area"`.
|
|
1698
|
+
*
|
|
1623
1699
|
* @return {FluentFiltersCondition}
|
|
1624
1700
|
*/
|
|
1625
|
-
below(
|
|
1701
|
+
below(index = 0, intersection_area = 'element_edge_area') {
|
|
1626
1702
|
this._textStr = '';
|
|
1627
|
-
if (
|
|
1628
|
-
this._textStr += `index ${
|
|
1703
|
+
if (index !== undefined) {
|
|
1704
|
+
this._textStr += `index ${index}`;
|
|
1629
1705
|
}
|
|
1630
1706
|
this._textStr += ' below';
|
|
1631
|
-
if (
|
|
1632
|
-
this._textStr += `
|
|
1707
|
+
if (intersection_area !== undefined) {
|
|
1708
|
+
this._textStr += ` intersection_area ${intersection_area}`;
|
|
1633
1709
|
}
|
|
1634
1710
|
return new FluentFiltersCondition(this);
|
|
1635
1711
|
}
|
|
1636
1712
|
/**
|
|
1637
1713
|
* Filters for an element above another element.
|
|
1638
1714
|
*
|
|
1639
|
-
* Takes an optional parameter `index` to select the
|
|
1715
|
+
* Takes an optional parameter `index` to select the nth element (defaults to `0`).
|
|
1716
|
+
*
|
|
1717
|
+
* Takes an optional parameter `intersection_area` to specify which elements above of the other element are filtered for based on their horizontal position (y-coordinates of bounding box):
|
|
1718
|
+
* - `"element_center_line"` - considered above of the other element if element's bounding box intersects with a vertical line passing through the center of the other element
|
|
1719
|
+
* - `"element_edge_area"` - considered above of the other element if element's bounding box intersects with an area between the left and the right edge of the other element
|
|
1720
|
+
* - `"display_edge_area"` - considered above of the other element no matter where it is placed horizontally on the screen (y-axis)
|
|
1640
1721
|
*
|
|
1641
1722
|
* **Examples:**
|
|
1642
1723
|
* ```typescript
|
|
@@ -1660,16 +1741,19 @@ export class FluentFiltersOrRelationsCondition extends FluentFiltersCondition {
|
|
|
1660
1741
|
* ```
|
|
1661
1742
|
* 
|
|
1662
1743
|
*
|
|
1744
|
+
* @param {number} [index=0] - Index of element to filter for going into the direction specified. Defaults to `0` which is the first element (zero-indexed) found in that direction.
|
|
1745
|
+
* @param {INTERSECTION_AREA} [intersection_area="element_edge_area"] - Intersecting with either `"element_center_line"`, `"element_edge_area"` or `"display_edge_area"`. Defaults to `"element_edge_area"`.
|
|
1746
|
+
*
|
|
1663
1747
|
* @return {FluentFiltersCondition}
|
|
1664
1748
|
*/
|
|
1665
|
-
above(
|
|
1749
|
+
above(index = 0, intersection_area = 'element_edge_area') {
|
|
1666
1750
|
this._textStr = '';
|
|
1667
|
-
if (
|
|
1668
|
-
this._textStr += `index ${
|
|
1751
|
+
if (index !== undefined) {
|
|
1752
|
+
this._textStr += `index ${index}`;
|
|
1669
1753
|
}
|
|
1670
1754
|
this._textStr += ' above';
|
|
1671
|
-
if (
|
|
1672
|
-
this._textStr += `
|
|
1755
|
+
if (intersection_area !== undefined) {
|
|
1756
|
+
this._textStr += ` intersection_area ${intersection_area}`;
|
|
1673
1757
|
}
|
|
1674
1758
|
return new FluentFiltersCondition(this);
|
|
1675
1759
|
}
|
|
@@ -2075,7 +2159,7 @@ export class FluentCommand extends FluentBase {
|
|
|
2075
2159
|
return new Exec(this);
|
|
2076
2160
|
}
|
|
2077
2161
|
/**
|
|
2078
|
-
* Executes a shell command on the device your
|
|
2162
|
+
* Executes a shell command on the device your AskUI Controller is connected to.
|
|
2079
2163
|
*
|
|
2080
2164
|
* **Example:**
|
|
2081
2165
|
* ```typescript
|
|
@@ -2554,6 +2638,7 @@ export class FluentFiltersGetter extends FluentBase {
|
|
|
2554
2638
|
return new FluentFiltersOrRelationsGetter(this);
|
|
2555
2639
|
}
|
|
2556
2640
|
/**
|
|
2641
|
+
* Filters for a UI element 'table'.
|
|
2557
2642
|
*
|
|
2558
2643
|
* @return {FluentFiltersOrRelationsGetter}
|
|
2559
2644
|
*/
|
|
@@ -2582,6 +2667,8 @@ export class FluentFiltersGetter extends FluentBase {
|
|
|
2582
2667
|
* await aui.click().text().withTextRegex('\b[Ss]\w+').exec();
|
|
2583
2668
|
* ```
|
|
2584
2669
|
*
|
|
2670
|
+
* @param {string} [text] - A text to be matched.
|
|
2671
|
+
*
|
|
2585
2672
|
* @return {FluentFiltersOrRelationsGetter}
|
|
2586
2673
|
*/
|
|
2587
2674
|
text(text) {
|
|
@@ -2614,9 +2701,9 @@ export class FluentFiltersGetter extends FluentBase {
|
|
|
2614
2701
|
return new FluentFiltersOrRelationsGetter(this);
|
|
2615
2702
|
}
|
|
2616
2703
|
/**
|
|
2617
|
-
* Filters for a 'custom element', that is a UI element
|
|
2704
|
+
* Filters for a 'custom element', that is a UI element that is defined by providing an image and other parameters such as degree of rotation. It allows filtering for a UI element based on an image instead of using text or element descriptions like `button().withText('Submit')` in `await aui.click().button().withText('Submit').exec()`.
|
|
2618
2705
|
*
|
|
2619
|
-
* See the tutorial - [Custom Element](https://docs.askui.com/docs/general/
|
|
2706
|
+
* See the tutorial - [Custom Element](https://docs.askui.com/docs/general/Element%20Selection/custom-elements) for more details.
|
|
2620
2707
|
*
|
|
2621
2708
|
* **Example**
|
|
2622
2709
|
* ```typescript
|
|
@@ -2647,7 +2734,7 @@ export class FluentFiltersGetter extends FluentBase {
|
|
|
2647
2734
|
* - **rotationDegreePerStep** (*`number`, optional*):
|
|
2648
2735
|
* - Step size in rotation degree. Rotates the custom image by this step size until 360° is exceeded. The range is from `0` to `360`. Defaults to `0`.
|
|
2649
2736
|
* - **imageCompareFormat** (*`'RGB' | 'grayscale' | 'edges'`, optional*):
|
|
2650
|
-
* - The color compare style. 'edges' compares only edges, 'greyscale' compares the brightness of each pixel whereas 'RGB' compares all three colors (red, green, blue). Defaults to 'grayscale'
|
|
2737
|
+
* - The color compare style. `'edges'` compares only edges, `'greyscale'` compares the brightness of each pixel whereas `'RGB'` compares all three colors (red, green, blue). Defaults to `'grayscale'`.
|
|
2651
2738
|
*
|
|
2652
2739
|
*
|
|
2653
2740
|
* @param {CustomElementJson} customElement - The custom element to filter for.
|
|
@@ -2662,7 +2749,13 @@ export class FluentFiltersGetter extends FluentBase {
|
|
|
2662
2749
|
return new FluentFiltersOrRelationsGetter(this);
|
|
2663
2750
|
}
|
|
2664
2751
|
/**
|
|
2665
|
-
* Detects an AI Element created with the workflow
|
|
2752
|
+
* Detects an AI Element created with the [snipping workflow](https://docs.askui.com/docs/general/Components/aielement#snipping-workflow).
|
|
2753
|
+
*
|
|
2754
|
+
* **Examples:**
|
|
2755
|
+
*
|
|
2756
|
+
* ```typescript
|
|
2757
|
+
* await aui.click().aiElement('askui-logo').exec();
|
|
2758
|
+
* ```
|
|
2666
2759
|
*
|
|
2667
2760
|
* @param {string} aiElementName - Name of the AI Element.
|
|
2668
2761
|
*
|
|
@@ -2750,12 +2843,13 @@ export class FluentFiltersGetter extends FluentBase {
|
|
|
2750
2843
|
* 'other' === withText('text') => false
|
|
2751
2844
|
*
|
|
2752
2845
|
* // optional parameter: similarity_score
|
|
2753
|
-
* '978-0-201-00650-6' == withText(
|
|
2754
|
-
* '978-0-201-00650-6' == withText(
|
|
2846
|
+
* '978-0-201-00650-6' == withText("978-0-201-00", 90) => false with 82.76 < 90 similarity
|
|
2847
|
+
* '978-0-201-00650-6' == withText("978-0-201-00650", 90) => true with 93.75 > 90 similarity
|
|
2755
2848
|
* ```
|
|
2756
2849
|
* 
|
|
2757
2850
|
*
|
|
2758
2851
|
* @param {string} text - A text to be matched.
|
|
2852
|
+
* @param {number} [similarityScore=70] - Similarity score minimum value, it should be between `0` and `100`.
|
|
2759
2853
|
*
|
|
2760
2854
|
* @return {FluentFiltersOrRelationsGetter}
|
|
2761
2855
|
*/
|
|
@@ -2865,7 +2959,7 @@ export class FluentFiltersGetter extends FluentBase {
|
|
|
2865
2959
|
* E.g., `puzzle piece` can fail while `an icon showing a puzzle piece` might work.
|
|
2866
2960
|
* Generally, the more detail the better.
|
|
2867
2961
|
*
|
|
2868
|
-
* We also recommend to not restrict the type of element by using the
|
|
2962
|
+
* We also recommend to not restrict the type of element by using the general selector `element()` as shown in the examples below.
|
|
2869
2963
|
*
|
|
2870
2964
|
* **Examples:**
|
|
2871
2965
|
* ```typescript
|
|
@@ -3037,7 +3131,12 @@ export class FluentFiltersOrRelationsGetter extends FluentFiltersGetter {
|
|
|
3037
3131
|
/**
|
|
3038
3132
|
* Filters for an element right of another element.
|
|
3039
3133
|
*
|
|
3040
|
-
* Takes an optional parameter `index` to select the
|
|
3134
|
+
* Takes an optional parameter `index` to select the nth element (defaults to `0`).
|
|
3135
|
+
*
|
|
3136
|
+
* Takes an optional parameter `intersection_area` to specify which elements right of the other element are filtered for based on their vertical position (y-coordinates of bounding box):
|
|
3137
|
+
* - `"element_center_line"` - considered right of the other element if element's bounding box intersects with a horizontal line passing through the center of the other element
|
|
3138
|
+
* - `"element_edge_area"` - considered right of the other element if element's bounding box intersects with an area between the top and the bottom edge of the other element
|
|
3139
|
+
* - `"display_edge_area"` - considered right of the other element no matter where it is placed vertically on the screen (y-axis)
|
|
3041
3140
|
*
|
|
3042
3141
|
* **Examples:**
|
|
3043
3142
|
* ```typescript
|
|
@@ -3055,24 +3154,32 @@ export class FluentFiltersOrRelationsGetter extends FluentFiltersGetter {
|
|
|
3055
3154
|
* ```
|
|
3056
3155
|
* 
|
|
3057
3156
|
*
|
|
3157
|
+
* @param {number} [index=0] - Index of element to filter for going into the direction specified. Defaults to `0` which is the first element (zero-indexed) found in that direction.
|
|
3158
|
+
* @param {INTERSECTION_AREA} [intersection_area="element_edge_area"] - Intersecting with either `"element_center_line"`, `"element_edge_area"` or `"display_edge_area"`. Defaults to `"element_edge_area"`.
|
|
3159
|
+
*
|
|
3058
3160
|
* @return {FluentFiltersGetter}
|
|
3059
3161
|
*/
|
|
3060
|
-
rightOf(
|
|
3162
|
+
rightOf(index = 0, intersection_area = 'element_edge_area') {
|
|
3061
3163
|
this._textStr = '';
|
|
3062
|
-
if (
|
|
3063
|
-
this._textStr += `index ${
|
|
3164
|
+
if (index !== undefined) {
|
|
3165
|
+
this._textStr += `index ${index}`;
|
|
3064
3166
|
}
|
|
3065
3167
|
this._textStr += ' right';
|
|
3066
3168
|
this._textStr += ' of';
|
|
3067
|
-
if (
|
|
3068
|
-
this._textStr += `
|
|
3169
|
+
if (intersection_area !== undefined) {
|
|
3170
|
+
this._textStr += ` intersection_area ${intersection_area}`;
|
|
3069
3171
|
}
|
|
3070
3172
|
return new FluentFiltersGetter(this);
|
|
3071
3173
|
}
|
|
3072
3174
|
/**
|
|
3073
3175
|
* Filters for an element left of another element.
|
|
3074
3176
|
*
|
|
3075
|
-
* Takes an optional parameter `index` to select the
|
|
3177
|
+
* Takes an optional parameter `index` to select the nth element (defaults to `0`).
|
|
3178
|
+
*
|
|
3179
|
+
* Takes an optional parameter `intersection_area` to specify which elements left of the other element are filtered for based on their vertical position (y-coordinates of bounding box):
|
|
3180
|
+
* - `"element_center_line"` - considered left of the other element if element's bounding box intersects with a horizontal line passing through the center of the other element
|
|
3181
|
+
* - `"element_edge_area"` - considered left of the other element if element's bounding box intersects with an area between the top and the bottom edge of the other element
|
|
3182
|
+
* - `"display_edge_area"` - considered left of the other element no matter where it is placed vertically on the screen (y-axis)
|
|
3076
3183
|
*
|
|
3077
3184
|
* **Examples:**
|
|
3078
3185
|
* ```typescript
|
|
@@ -3090,24 +3197,32 @@ export class FluentFiltersOrRelationsGetter extends FluentFiltersGetter {
|
|
|
3090
3197
|
* ```
|
|
3091
3198
|
* 
|
|
3092
3199
|
*
|
|
3200
|
+
* @param {number} [index=0] - Index of element to filter for going into the direction specified. Defaults to `0` which is the first element (zero-indexed) found in that direction.
|
|
3201
|
+
* @param {INTERSECTION_AREA} [intersection_area="element_edge_area"] - Intersecting with either `"element_center_line"`, `"element_edge_area"` or `"display_edge_area"`. Defaults to `"element_edge_area"`.
|
|
3202
|
+
*
|
|
3093
3203
|
* @return {FluentFiltersGetter}
|
|
3094
3204
|
*/
|
|
3095
|
-
leftOf(
|
|
3205
|
+
leftOf(index = 0, intersection_area = 'element_edge_area') {
|
|
3096
3206
|
this._textStr = '';
|
|
3097
|
-
if (
|
|
3098
|
-
this._textStr += `index ${
|
|
3207
|
+
if (index !== undefined) {
|
|
3208
|
+
this._textStr += `index ${index}`;
|
|
3099
3209
|
}
|
|
3100
3210
|
this._textStr += ' left';
|
|
3101
3211
|
this._textStr += ' of';
|
|
3102
|
-
if (
|
|
3103
|
-
this._textStr += `
|
|
3212
|
+
if (intersection_area !== undefined) {
|
|
3213
|
+
this._textStr += ` intersection_area ${intersection_area}`;
|
|
3104
3214
|
}
|
|
3105
3215
|
return new FluentFiltersGetter(this);
|
|
3106
3216
|
}
|
|
3107
3217
|
/**
|
|
3108
3218
|
* Filters for an element below another element.
|
|
3109
3219
|
*
|
|
3110
|
-
* Takes an optional parameter `index` to select the
|
|
3220
|
+
* Takes an optional parameter `index` to select the nth element (defaults to `0`).
|
|
3221
|
+
*
|
|
3222
|
+
* Takes an optional parameter `intersection_area` to specify which elements below of the other element are filtered for based on their horizontal position (y-coordinates of bounding box):
|
|
3223
|
+
* - `"element_center_line"` - considered below of the other element if element's bounding box intersects with a vertical line passing through the center of the other element
|
|
3224
|
+
* - `"element_edge_area"` - considered below of the other element if element's bounding box intersects with an area between the left and the right edge of the other element
|
|
3225
|
+
* - `"display_edge_area"` - considered below of the other element no matter where it is placed horizontally on the screen (y-axis)
|
|
3111
3226
|
*
|
|
3112
3227
|
* **Examples:**
|
|
3113
3228
|
* ```typescript
|
|
@@ -3131,23 +3246,31 @@ export class FluentFiltersOrRelationsGetter extends FluentFiltersGetter {
|
|
|
3131
3246
|
* ```
|
|
3132
3247
|
* 
|
|
3133
3248
|
*
|
|
3249
|
+
* @param {number} [index=0] - Index of element to filter for going into the direction specified. Defaults to `0` which is the first element (zero-indexed) found in that direction.
|
|
3250
|
+
* @param {INTERSECTION_AREA} [intersection_area="element_edge_area"] - Intersecting with either `"element_center_line"`, `"element_edge_area"` or `"display_edge_area"`. Defaults to `"element_edge_area"`.
|
|
3251
|
+
*
|
|
3134
3252
|
* @return {FluentFiltersGetter}
|
|
3135
3253
|
*/
|
|
3136
|
-
below(
|
|
3254
|
+
below(index = 0, intersection_area = 'element_edge_area') {
|
|
3137
3255
|
this._textStr = '';
|
|
3138
|
-
if (
|
|
3139
|
-
this._textStr += `index ${
|
|
3256
|
+
if (index !== undefined) {
|
|
3257
|
+
this._textStr += `index ${index}`;
|
|
3140
3258
|
}
|
|
3141
3259
|
this._textStr += ' below';
|
|
3142
|
-
if (
|
|
3143
|
-
this._textStr += `
|
|
3260
|
+
if (intersection_area !== undefined) {
|
|
3261
|
+
this._textStr += ` intersection_area ${intersection_area}`;
|
|
3144
3262
|
}
|
|
3145
3263
|
return new FluentFiltersGetter(this);
|
|
3146
3264
|
}
|
|
3147
3265
|
/**
|
|
3148
3266
|
* Filters for an element above another element.
|
|
3149
3267
|
*
|
|
3150
|
-
* Takes an optional parameter `index` to select the
|
|
3268
|
+
* Takes an optional parameter `index` to select the nth element (defaults to `0`).
|
|
3269
|
+
*
|
|
3270
|
+
* Takes an optional parameter `intersection_area` to specify which elements above of the other element are filtered for based on their horizontal position (y-coordinates of bounding box):
|
|
3271
|
+
* - `"element_center_line"` - considered above of the other element if element's bounding box intersects with a vertical line passing through the center of the other element
|
|
3272
|
+
* - `"element_edge_area"` - considered above of the other element if element's bounding box intersects with an area between the left and the right edge of the other element
|
|
3273
|
+
* - `"display_edge_area"` - considered above of the other element no matter where it is placed horizontally on the screen (y-axis)
|
|
3151
3274
|
*
|
|
3152
3275
|
* **Examples:**
|
|
3153
3276
|
* ```typescript
|
|
@@ -3171,16 +3294,19 @@ export class FluentFiltersOrRelationsGetter extends FluentFiltersGetter {
|
|
|
3171
3294
|
* ```
|
|
3172
3295
|
* 
|
|
3173
3296
|
*
|
|
3297
|
+
* @param {number} [index=0] - Index of element to filter for going into the direction specified. Defaults to `0` which is the first element (zero-indexed) found in that direction.
|
|
3298
|
+
* @param {INTERSECTION_AREA} [intersection_area="element_edge_area"] - Intersecting with either `"element_center_line"`, `"element_edge_area"` or `"display_edge_area"`. Defaults to `"element_edge_area"`.
|
|
3299
|
+
*
|
|
3174
3300
|
* @return {FluentFiltersGetter}
|
|
3175
3301
|
*/
|
|
3176
|
-
above(
|
|
3302
|
+
above(index = 0, intersection_area = 'element_edge_area') {
|
|
3177
3303
|
this._textStr = '';
|
|
3178
|
-
if (
|
|
3179
|
-
this._textStr += `index ${
|
|
3304
|
+
if (index !== undefined) {
|
|
3305
|
+
this._textStr += `index ${index}`;
|
|
3180
3306
|
}
|
|
3181
3307
|
this._textStr += ' above';
|
|
3182
|
-
if (
|
|
3183
|
-
this._textStr += `
|
|
3308
|
+
if (intersection_area !== undefined) {
|
|
3309
|
+
this._textStr += ` intersection_area ${intersection_area}`;
|
|
3184
3310
|
}
|
|
3185
3311
|
return new FluentFiltersGetter(this);
|
|
3186
3312
|
}
|
|
@@ -3283,6 +3409,7 @@ export class Getter extends FluentCommand {
|
|
|
3283
3409
|
* ]
|
|
3284
3410
|
* ```
|
|
3285
3411
|
*
|
|
3412
|
+
* ```typescript
|
|
3286
3413
|
* // *************************************************** //
|
|
3287
3414
|
* // Examples on how to work with the returned elements //
|
|
3288
3415
|
* // *************************************************** //
|
|
@@ -3366,6 +3493,7 @@ export class Getter extends FluentCommand {
|
|
|
3366
3493
|
* xmax: 1178.8204241071428,
|
|
3367
3494
|
* ymax: 180.83512834821428
|
|
3368
3495
|
* },
|
|
3496
|
+
* },
|
|
3369
3497
|
* DetectedElement {
|
|
3370
3498
|
* name: 'ICON',
|
|
3371
3499
|
* text: 'search',
|
|
@@ -3375,8 +3503,8 @@ export class Getter extends FluentCommand {
|
|
|
3375
3503
|
* xmax: 450.6304241071428,
|
|
3376
3504
|
* ymax: 950.47812834821428
|
|
3377
3505
|
* },
|
|
3378
|
-
*
|
|
3379
|
-
*
|
|
3506
|
+
* },
|
|
3507
|
+
* ... 381 more items
|
|
3380
3508
|
* ]
|
|
3381
3509
|
* ```
|
|
3382
3510
|
*
|