@dev-blinq/cucumber_client 1.0.1658-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
- for (const frame of page.frames()) {
1187
- try {
1188
- //scope, text1, tag1, regex1 = false, partial1, ignoreCase = true, _params: Params)
1189
- const frameResult = await this.web._locateElementByText(
1190
- frame,
1191
- searchString,
1192
- tag,
1193
- regex,
1194
- partial,
1195
- ignoreCase,
1196
- {}
1197
- );
1198
- result += frameResult.elementCount;
1199
- } catch (e) {
1200
- console.log(e);
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.1658-dev",
3
+ "version": "1.0.1659-dev",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",