froth-webdriverio-framework 3.0.13 → 3.0.15

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.
@@ -65,7 +65,7 @@ storeattributevalue = require(basepath + '/storeToBuffer').STOREATTRIBUTEVALUE;
65
65
  api = require(basepath + '/apicall').callapi;
66
66
  validate = require(basepath + '/apicall').validate;
67
67
 
68
- selectDropDownValue = require(basepath + '/dropDown').selectDropDownValue;
68
+ selectDropDownValue = require(basepath + '/dropDown').select4mDropDownValue;
69
69
 
70
70
 
71
71
  //export the variabels
@@ -1,4 +1,4 @@
1
- async function selectDropDownValue(elementSelector, selectOption) {
1
+ async function select4mDropDownValue(elementSelector, selectOption) {
2
2
  try {
3
3
  // let selectBox = await $(elementSelector);
4
4
  await $(elementSelector).selectByAttribute('value', selectOption);
@@ -17,7 +17,7 @@ async function amendToBrowserstack(annotationMessage, level) {
17
17
 
18
18
  } catch (error) {
19
19
  console.error('Error occurred while verifying text:', error);
20
- throw error;
20
+ // throw error;
21
21
  }
22
22
  }
23
- module.exports = { selectDropDownValue };
23
+ module.exports = { select4mDropDownValue };
@@ -73,7 +73,7 @@ async function scrollIntoView(element){
73
73
  // scroll to specific element
74
74
  await elem.scrollIntoView();
75
75
  // center element within the viewport
76
- await elem.scrollIntoView({ block: 'center', inline: 'center' });
76
+ // await elem.scrollIntoView({ block: 'center', inline: 'center' });
77
77
 
78
78
  }catch(error){
79
79
  console.error(error.message);
@@ -23,7 +23,6 @@ const webbsconfig = deepmerge.all([commonmobileconfig, {
23
23
  {
24
24
  'bstack:options': {
25
25
  projectName: process.env.PROJECTNAME || "roboticodigital",
26
-
27
26
  browserName: process.env.BROWSERSTACK_BROWSER || 'chrome', // Choose the browser you want to test
28
27
  browserVersion: process.env.BROWSERSTACK_BROWSER_VERSION || '129', // Specify the browser version
29
28
  os: 'Windows', // Specify the operating system
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "3.0.13",
3
+ "version": "3.0.15",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",