@dev-blinq/cucumber_client 1.0.1578-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.
@@ -310,8 +310,10 @@ export class BVTRecorder {
310
310
  }
311
311
 
312
312
  async _initBrowser({ url }) {
313
- this.#remoteDebuggerPort = await findAvailablePort();
314
- process.env.CDP_LISTEN_PORT = this.#remoteDebuggerPort;
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: () => {} };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1578-dev",
3
+ "version": "1.0.1579-dev",
4
4
  "description": " ",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",