@mablhq/mabl-cli 2.57.1 → 2.57.4

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.
@@ -34,7 +34,6 @@ const mobileEmulationUtil_1 = require("../commands/tests/mobileEmulationUtil");
34
34
  const resourceUtil_1 = require("../util/resourceUtil");
35
35
  const browserEngine_1 = require("./browserEngine");
36
36
  const cliConfigProvider_1 = require("../providers/cliConfigProvider");
37
- const configKeys_1 = require("../commands/config/config_cmds/configKeys");
38
37
  const loggingProvider_1 = require("../providers/logging/loggingProvider");
39
38
  const chromeFinder = require('chrome-launcher/dist/chrome-finder');
40
39
  const launchUtils = require('chrome-launcher/dist/utils');
@@ -151,14 +150,14 @@ class ChromiumBrowserEngine {
151
150
  return preferences;
152
151
  }
153
152
  async findBrowserExecutable() {
154
- const existingLocation = await cliConfigProvider_1.CliConfigProvider.getConfigProperty(configKeys_1.configKeys.browserPath);
153
+ const existingLocation = await cliConfigProvider_1.CliConfigProvider.getConfigProperty(cliConfigProvider_1.BROWSER_CONFIG_KEY);
155
154
  if (typeof existingLocation === 'string' &&
156
155
  existingLocation &&
157
156
  fs.existsSync(existingLocation)) {
158
157
  return existingLocation;
159
158
  }
160
159
  const chromePath = this.searchForChrome();
161
- await cliConfigProvider_1.CliConfigProvider.setConfigProperty(configKeys_1.configKeys.browserPath, chromePath);
160
+ await cliConfigProvider_1.CliConfigProvider.setConfigProperty(cliConfigProvider_1.BROWSER_CONFIG_KEY, chromePath);
162
161
  return chromePath;
163
162
  }
164
163
  searchForChrome() {