froth-webdriverio-framework 4.0.67 → 4.0.68

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.
@@ -8,6 +8,7 @@ async function acceptalert() {
8
8
  timeoutMsg: 'Expected alert to appear but it did not'
9
9
  });
10
10
  await browser.acceptAlert();
11
+
11
12
  } catch (e) {
12
13
  console.log("error occured while accepting alert", e)
13
14
  }
@@ -25,13 +25,7 @@ let capabilities;
25
25
  try {
26
26
  capabilities = yaml.load(fs.readFileSync(path.join(path.resolve(process.cwd(), configFile)), 'utf8'));
27
27
  // Merge chrome-specific options if applicable
28
- if ( capabilities.browserName.toLowerCase() === 'chrome') {
29
- capabilities['goog:chromeOptions'] = {
30
- prefs: {
31
- 'profile.default_content_setting_values.notifications': 2
32
- }
33
- };
34
- }
28
+
35
29
  } catch (e) {
36
30
  const errorMsg = `The capability file does not exist in the currently configured repository at path: ${path.resolve(process.cwd(), configFile)}: ${e.message},Please update the Capability by editing the file`;
37
31
  console.error(errorMsg);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "4.0.67",
3
+ "version": "4.0.68",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",