fix(execute-driver-plugin): update dependency webdriverio to v8 (#18095)

* fix(execute-driver-plugin): update dependency webdriverio to v8

* fix(execute-driver-plugin): upgrade wdio usage to v8

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Lipps <jlipps@gmail.com>
This commit is contained in:
renovate[bot]
2023-08-22 11:26:47 -07:00
committed by GitHub
parent b900c60dac
commit b608db91a8
5 changed files with 3133 additions and 1214 deletions

4327
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -145,7 +145,7 @@
"typedoc-plugin-resolve-crossmodule-references": "0.3.3",
"typescript": "5.0.4",
"validate.js": "0.13.1",
"webdriverio": "7.32.4",
"webdriverio": "8.15.4",
"ws": "8.13.0",
"yaml-js": "0.3.1"
},

View File

@@ -67,12 +67,14 @@ export default class ExecuteDriverPlugin extends BasePlugin {
const driverOpts = {
sessionId: driver.sessionId,
// Appium probably won't be behind ssl locally; if it ever is, might need to update this to
// provide a user configurable parameter
protocol: 'http',
hostname: driver.serverHost,
port: driver.serverPort,
path: driver.serverPath,
options: {
// Appium probably won't be behind ssl locally; if it ever is, might need to update this to
// provide a user configurable parameter
protocol: 'http',
hostname: driver.serverHost,
port: driver.serverPort,
path: driver.serverPath,
},
isW3C: true,
isMobile: true,
capabilities: driver.caps,

View File

@@ -43,7 +43,7 @@
"lodash": "4.17.21",
"source-map-support": "0.5.21",
"vm2": "3.9.19",
"webdriverio": "7.32.4"
"webdriverio": "8.15.4"
},
"peerDependencies": {
"appium": "^2.0.0-beta.35"

View File

@@ -5,7 +5,7 @@
"appium/plugin": ["../packages/appium/plugin"],
"@appium/plugin-test-support": ["../packages/plugin-test-support"]
},
"types": ["webdriverio/async"]
"types": ["webdriverio"]
},
"extends": "./tsconfig.json",
"references": [