@dev-blinq/cucumber_client 1.0.1577-dev → 1.0.1579-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.
|
@@ -313,7 +313,7 @@ async function BVTRecorderInit({ envName, projectDir, roomId, TOKEN, socket = nu
|
|
|
313
313
|
},
|
|
314
314
|
"recorderWindow.cleanup": async (input) => {
|
|
315
315
|
return recorder.cleanup(input);
|
|
316
|
-
}
|
|
316
|
+
},
|
|
317
317
|
});
|
|
318
318
|
|
|
319
319
|
socket.on("targetBrowser.command.event", async (input) => {
|
|
@@ -310,8 +310,10 @@ export class BVTRecorder {
|
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
async _initBrowser({ url }) {
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
if (process.env.CDP_LISTEN_PORT === undefined) {
|
|
314
|
+
this.#remoteDebuggerPort = await findAvailablePort();
|
|
315
|
+
process.env.CDP_LISTEN_PORT = this.#remoteDebuggerPort;
|
|
316
|
+
}
|
|
315
317
|
|
|
316
318
|
// this.stepRunner.setRemoteDebugPort(this.#remoteDebuggerPort);
|
|
317
319
|
this.world = { attach: () => {} };
|