froth-webdriverio-framework 6.0.9 → 6.0.10

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.
@@ -1,4 +1,4 @@
1
- process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
1
+ //process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
2
2
 
3
3
  const Imap = require('imap');
4
4
  const { simpleParser } = require('mailparser');
@@ -80,10 +80,9 @@ const commonconfig = {
80
80
  if (process.env.PLATFORM === 'browserstack') {
81
81
  /// console.log("capabilities:", capabilities);
82
82
  console.log("====> BROWSERSTACK_LOCAL : " + process.env.BROWSERSTACK_LOCAL);
83
- console.log("Local enabled? →", capabilities['bstack:options']?.local);
84
83
 
85
84
  const isLocalEnabled = process.env.BROWSERSTACK_LOCAL === "true";
86
-
85
+ console.log("isLocalEnabled:", isLocalEnabled);
87
86
  if (isLocalEnabled) {
88
87
  console.log("====> Starting BrowserStack Local...");
89
88
  if (!capabilities['bstack:options']) capabilities['bstack:options'] = {};
@@ -97,7 +96,7 @@ const commonconfig = {
97
96
  // capabilities.app = process.env.BROWSERSTACK_APP_PATH;
98
97
  const appValue = capabilities['appium:app'];
99
98
  console.log("App Value=====>", appValue);
100
-
99
+
101
100
  if (appValue === undefined || appValue === null || appValue === '') {
102
101
  console.error("🚨 Error: BROWSERSTACK_APP_PATH is not defined or empty.");
103
102
  resultdetails.excution_status = 'FAILED';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "6.0.9",
3
+ "version": "6.0.10",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",