@dev-blinq/cucumber_client 1.0.1692-dev → 1.0.1693-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.
@@ -1588,6 +1588,7 @@ export class BVTRecorder {
1588
1588
  selectedTarget,
1589
1589
  page_context,
1590
1590
  AIMemory,
1591
+ steps_context,
1591
1592
  }) {
1592
1593
  const runsURL = getRunsServiceBaseURL();
1593
1594
  const url = `${runsURL}/process-user-request/generate-code-with-context`;
@@ -1602,6 +1603,7 @@ export class BVTRecorder {
1602
1603
  selectedTarget,
1603
1604
  page_context,
1604
1605
  AIMemory,
1606
+ steps_context,
1605
1607
  },
1606
1608
  headers: {
1607
1609
  Authorization: `Bearer ${this.TOKEN}`,
@@ -1670,6 +1672,9 @@ export class BVTRecorder {
1670
1672
  }
1671
1673
  }
1672
1674
  async getContext() {
1675
+ await this.page.waitForLoadState("domcontentloaded");
1676
+ await this.page.waitForSelector("body");
1677
+ await this.page.waitForTimeout(500);
1673
1678
  return await this.page.evaluate(() => {
1674
1679
  return document.documentElement.outerHTML;
1675
1680
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1692-dev",
3
+ "version": "1.0.1693-dev",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",