@dev-blinq/cucumber_client 1.0.1296-stage → 1.0.1297-stage
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.
|
@@ -841,7 +841,6 @@ class LocatorGenerator {
|
|
|
841
841
|
Array.isArray(this.options.customAttributes) &&
|
|
842
842
|
this.options.customAttributes.length > 0
|
|
843
843
|
) {
|
|
844
|
-
|
|
845
844
|
console.groupCollapsed("Generating Custom locators for element:", element);
|
|
846
845
|
const customLocators = this.getUniqueLocators(element, this.getCustomLocators.bind(this), options);
|
|
847
846
|
if (customLocators.length > 0) {
|
|
@@ -187,7 +187,7 @@ export class BVTRecorder {
|
|
|
187
187
|
this.pageSet = new Set();
|
|
188
188
|
this.pageMetaDataSet = new Set();
|
|
189
189
|
this.lastKnownUrlPath = "";
|
|
190
|
-
this.world = { attach: () => {
|
|
190
|
+
this.world = { attach: () => {} };
|
|
191
191
|
this.shouldTakeScreenshot = true;
|
|
192
192
|
this.watcher = null;
|
|
193
193
|
this.networkEventsFolder = path.join(tmpdir(), "blinq_network_events");
|
|
@@ -299,7 +299,7 @@ export class BVTRecorder {
|
|
|
299
299
|
process.env.CDP_LISTEN_PORT = this.#remoteDebuggerPort;
|
|
300
300
|
|
|
301
301
|
// this.stepRunner.setRemoteDebugPort(this.#remoteDebuggerPort);
|
|
302
|
-
this.world = { attach: () => {
|
|
302
|
+
this.world = { attach: () => {} };
|
|
303
303
|
|
|
304
304
|
const ai_config_file = path.join(this.projectDir, "ai_config.json");
|
|
305
305
|
let ai_config = {};
|
|
@@ -736,7 +736,7 @@ export class BVTRecorder {
|
|
|
736
736
|
}
|
|
737
737
|
async closeBrowser() {
|
|
738
738
|
delete process.env.TEMP_RUN;
|
|
739
|
-
await this.watcher.close().then(() => {
|
|
739
|
+
await this.watcher.close().then(() => {});
|
|
740
740
|
this.watcher = null;
|
|
741
741
|
this.previousIndex = null;
|
|
742
742
|
this.previousHistoryLength = null;
|