diff --git a/src/drivers/npm/driver.js b/src/drivers/npm/driver.js index a257a8add..b62ebed6a 100644 --- a/src/drivers/npm/driver.js +++ b/src/drivers/npm/driver.js @@ -173,7 +173,11 @@ class Driver { class Site { constructor(url, headers = {}, driver) { - ;({ options: this.options, browser: this.browser } = driver) + ;({ + options: this.options, + browser: this.browser, + init: this.initDriver, + } = driver) this.options.headers = { ...this.options.headers, @@ -263,7 +267,7 @@ class Site { } if (!this.browser) { - await this.init() + await this.initDriver() if (!this.browser) { throw new Error('Browser closed') diff --git a/src/drivers/npm/package.json b/src/drivers/npm/package.json index d221784b9..1f4bf3485 100644 --- a/src/drivers/npm/package.json +++ b/src/drivers/npm/package.json @@ -13,7 +13,7 @@ "software" ], "homepage": "https://www.wappalyzer.com/", - "version": "6.3.7", + "version": "6.3.8", "author": "Wappalyzer", "license": "MIT", "repository": { diff --git a/src/package.json b/src/package.json index 2cc69710f..b105360bd 100644 --- a/src/package.json +++ b/src/package.json @@ -13,7 +13,7 @@ "software" ], "homepage": "https://www.wappalyzer.com/", - "version": "6.3.7", + "version": "6.3.8", "author": "Wappalyzer", "license": "MIT", "repository": {