froth-webdriverio-framework 2.0.20 → 2.0.22

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.
@@ -7,9 +7,10 @@ async function assertText(driver, elementSelector, expectedText) {
7
7
  // Wait for the element to be visible
8
8
 
9
9
  // Get the actual text from the element
10
- const element = await driver.$(elementSelector);
11
- console.log("actual text is:" + element)
12
- const actualText = await element.getText();
10
+ // const element = await driver.$(elementSelector);
11
+ // console.log("actual text is:" + element)
12
+ const actualText = await driver.$(elementSelector).map((ele) => ele.getText())
13
+ // const actualText = await element.getText();
13
14
  console.log("actual text is:" + actualText)
14
15
 
15
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "2.0.20",
3
+ "version": "2.0.22",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",
@@ -25,16 +25,18 @@
25
25
  "appium"
26
26
  ],
27
27
  "dependencies": {
28
- "@wdio/appium-service": "^8.36.1",
29
- "@wdio/browserstack-service": "^8.36.1",
30
- "@wdio/cli": "^8.36.1",
31
- "@wdio/local-runner": "^8.36.1",
28
+ "@wdio/appium-service": "^9.0.9",
29
+ "@wdio/browserstack-service": "^9.0.9",
30
+ "@wdio/cli": "^9.0.9",
31
+ "@wdio/local-runner": "^9.0.9",
32
32
  "@wdio/mocha-framework": "^8.36.1",
33
33
  "@wdio/spec-reporter": "^8.36.1",
34
- "appium": "^2.5.4",
35
- "appium-uiautomator2-driver": "^3.2.0",
34
+ "appium": "^2.11.3",
35
+ "appium-uiautomator2-driver": "^2.29.11",
36
36
  "assert": "^2.1.0",
37
+ "axios": "^1.7.7",
37
38
  "browserstack-local": "^1.5.5",
39
+ "chai": "^5.1.1",
38
40
  "deepmerge": "^4.3.1",
39
41
  "form-data": "^4.0.0",
40
42
  "mysql2": "^3.10.2",