@dev-blinq/cucumber_client 1.0.1580-dev → 1.0.1581-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.
@@ -676,7 +676,7 @@ export class BVTRecorder {
676
676
  context: this.context,
677
677
  });
678
678
  this.browserEmitter.on(this.events.browserStateSync, (state) => {
679
- this.page = this.browserEmitter.getSelectedPage();
679
+ // this.page = this.browserEmitter.getSelectedPage();
680
680
  this.sendEvent(this.events.browserStateSync, state);
681
681
  });
682
682
  }
@@ -755,7 +755,7 @@ export class BVTRecorder {
755
755
  [id, contextId, mode]
756
756
  );
757
757
 
758
- console.log(`Generated locators: for ${inputID}: `, JSON.stringify(locatorsObj));
758
+ // console.log(`Generated locators: for ${inputID}: `, JSON.stringify(locatorsObj));
759
759
  await newPage.close();
760
760
  if (event.nestFrmLoc?.children) {
761
761
  locatorsObj.nestFrmLoc = event.nestFrmLoc.children;
@@ -190,6 +190,7 @@ export class RemoteBrowserService extends EventEmitter {
190
190
  this.pages.set(id, page);
191
191
  }
192
192
  page.on("framenavigated", async () => {
193
+ await new Promise((resolve) => setTimeout(resolve, 1000)); // wait for a bit
193
194
  await this.syncState();
194
195
  });
195
196
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1580-dev",
3
+ "version": "1.0.1581-dev",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",