@dev-blinq/cucumber_client 1.0.1583-dev → 1.0.1585-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.
|
@@ -252,10 +252,10 @@ export class RemoteBrowserService extends EventEmitter {
|
|
|
252
252
|
if (id) {
|
|
253
253
|
this.pages.set(id, page);
|
|
254
254
|
}
|
|
255
|
-
page.on("framenavigated", async () => {
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
});
|
|
255
|
+
// page.on("framenavigated", async () => {
|
|
256
|
+
// await new Promise((resolve) => setTimeout(resolve, 1000)); // wait for a bit
|
|
257
|
+
// await this.syncState();
|
|
258
|
+
// });
|
|
259
259
|
}
|
|
260
260
|
// Set initial selected page
|
|
261
261
|
if (this.pages.size > 0 && !this._selectedPageId) {
|
|
@@ -315,6 +315,7 @@ export class RemoteBrowserService extends EventEmitter {
|
|
|
315
315
|
}
|
|
316
316
|
async getState() {
|
|
317
317
|
const debugData = await this.getDebugURLs();
|
|
318
|
+
console.log(`Debug data fetched: ${JSON.stringify(debugData)} entries`);
|
|
318
319
|
const pagesData = [];
|
|
319
320
|
for (const [id, page] of this.pages.entries()) {
|
|
320
321
|
const debugInfo = debugData.find((d) => d.id === id);
|
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.1585-dev",
|
|
4
4
|
"description": " ",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"types": "bin/index.d.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@babel/traverse": "^7.27.1",
|
|
38
38
|
"@babel/types": "^7.27.1",
|
|
39
39
|
"@cucumber/tag-expressions": "^6.1.1",
|
|
40
|
-
"@dev-blinq/cucumber-js": "1.0.
|
|
40
|
+
"@dev-blinq/cucumber-js": "1.0.200-dev",
|
|
41
41
|
"@faker-js/faker": "^8.4.1",
|
|
42
42
|
"automation_model": "1.0.889-dev",
|
|
43
43
|
"axios": "^1.7.4",
|