webdriverio 8.9.0 → 8.10.0

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.
@@ -14,7 +14,7 @@ export default class KeyAction extends BaseAction {
14
14
  // check capabilities first
15
15
  platformName && platformName.match(/mac(\s)*os/i) ||
16
16
  // if not set, expect we run locally
17
- os.type().match(/darwin/i));
17
+ (this.instance.options.hostname?.match(/127\.0\.0\.1|local/i) && os.type().match(/darwin/i)));
18
18
  if (value === Key.Ctrl) {
19
19
  return isMac ? Key.Command : Key.Control;
20
20
  }
@@ -476,7 +476,7 @@ export const getAutomationProtocol = async (config) => {
476
476
  */
477
477
  if (desiredCaps.deviceName || caps['appium:deviceName'] ||
478
478
  caps['appium:platformVersion'] ||
479
- desiredCaps.app || caps['appium:app']) {
479
+ caps['appium:app']) {
480
480
  return 'webdriver';
481
481
  }
482
482
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "webdriverio",
3
3
  "description": "Next-gen browser and mobile automation test framework for Node.js",
4
- "version": "8.9.0",
4
+ "version": "8.10.0",
5
5
  "homepage": "https://webdriver.io",
6
6
  "author": "Christian Bromann <mail@bromann.dev>",
7
7
  "license": "MIT",
@@ -68,18 +68,18 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@types/node": "^18.0.0",
71
- "@wdio/config": "8.8.7",
71
+ "@wdio/config": "8.10.0",
72
72
  "@wdio/logger": "8.6.6",
73
73
  "@wdio/protocols": "8.8.1",
74
74
  "@wdio/repl": "8.6.6",
75
- "@wdio/types": "8.8.7",
76
- "@wdio/utils": "8.8.7",
75
+ "@wdio/types": "8.10.0",
76
+ "@wdio/utils": "8.10.0",
77
77
  "archiver": "^5.0.0",
78
78
  "aria-query": "^5.0.0",
79
79
  "css-shorthand-properties": "^1.1.1",
80
80
  "css-value": "^0.0.1",
81
- "devtools": "8.8.7",
82
- "devtools-protocol": "^0.0.1137730",
81
+ "devtools": "8.10.0",
82
+ "devtools-protocol": "^0.0.1138159",
83
83
  "grapheme-splitter": "^1.0.2",
84
84
  "import-meta-resolve": "^3.0.0",
85
85
  "is-plain-obj": "^4.1.0",
@@ -91,7 +91,7 @@
91
91
  "resq": "^1.9.1",
92
92
  "rgb2hex": "0.2.5",
93
93
  "serialize-error": "^8.0.0",
94
- "webdriver": "8.8.7"
94
+ "webdriver": "8.10.0"
95
95
  },
96
- "gitHead": "6aa655ac57e4917a15204fa776f0fc82bdf35317"
96
+ "gitHead": "f0c607340b4f31a4ae48509115335283f488e38f"
97
97
  }