@dev-blinq/cucumber_client 1.0.1657-dev → 1.0.1659-dev
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.
|
@@ -1182,25 +1182,26 @@ export class BVTRecorder {
|
|
|
1182
1182
|
for (let i = 0; i < 3; i++) {
|
|
1183
1183
|
result = 0;
|
|
1184
1184
|
try {
|
|
1185
|
-
for (const page of this.context.pages()) {
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1185
|
+
// for (const page of this.context.pages()) {
|
|
1186
|
+
const page = this.web.page;
|
|
1187
|
+
for (const frame of page.frames()) {
|
|
1188
|
+
try {
|
|
1189
|
+
//scope, text1, tag1, regex1 = false, partial1, ignoreCase = true, _params: Params)
|
|
1190
|
+
const frameResult = await this.web._locateElementByText(
|
|
1191
|
+
frame,
|
|
1192
|
+
searchString,
|
|
1193
|
+
tag,
|
|
1194
|
+
regex,
|
|
1195
|
+
partial,
|
|
1196
|
+
ignoreCase,
|
|
1197
|
+
{}
|
|
1198
|
+
);
|
|
1199
|
+
result += frameResult.elementCount;
|
|
1200
|
+
} catch (e) {
|
|
1201
|
+
console.log(e);
|
|
1202
1202
|
}
|
|
1203
1203
|
}
|
|
1204
|
+
// }
|
|
1204
1205
|
|
|
1205
1206
|
return result;
|
|
1206
1207
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dev-blinq/cucumber_client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1659-dev",
|
|
4
4
|
"description": " ",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"types": "bin/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@cucumber/tag-expressions": "^6.1.1",
|
|
40
40
|
"@dev-blinq/cucumber-js": "1.0.211-dev",
|
|
41
41
|
"@faker-js/faker": "^8.4.1",
|
|
42
|
-
"automation_model": "1.0.
|
|
42
|
+
"automation_model": "1.0.909-dev",
|
|
43
43
|
"axios": "^1.7.4",
|
|
44
44
|
"chokidar": "^3.6.0",
|
|
45
45
|
"create-require": "^1.1.1",
|