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.
|
@@ -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
|
-
|
|
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);
|