appium-mac2-driver 1.8.4 → 1.8.6
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.
- package/CHANGELOG.md +14 -0
- package/README.md +43 -1
- package/npm-shrinkwrap.json +300 -759
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.8.6](https://github.com/appium/appium-mac2-driver/compare/v1.8.5...v1.8.6) (2023-11-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Miscellaneous Chores
|
|
5
|
+
|
|
6
|
+
* **deps:** bump asyncbox from 2.9.4 to 3.0.0 ([#252](https://github.com/appium/appium-mac2-driver/issues/252)) ([c411c6b](https://github.com/appium/appium-mac2-driver/commit/c411c6bec2842d9846bf93c712f1002e275ca2ac))
|
|
7
|
+
|
|
8
|
+
## [1.8.5](https://github.com/appium/appium-mac2-driver/compare/v1.8.4...v1.8.5) (2023-10-25)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Miscellaneous Chores
|
|
12
|
+
|
|
13
|
+
* **deps-dev:** bump @typescript-eslint/eslint-plugin from 5.62.0 to 6.9.0 ([#250](https://github.com/appium/appium-mac2-driver/issues/250)) ([9421419](https://github.com/appium/appium-mac2-driver/commit/9421419772bc3ebcb924735f05f158ca3b21ed9e))
|
|
14
|
+
|
|
1
15
|
## [1.8.4](https://github.com/appium/appium-mac2-driver/compare/v1.8.3...v1.8.4) (2023-10-24)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -87,7 +87,49 @@ Check the [integration tests](/test/functional/find-e2e-specs.js) for more examp
|
|
|
87
87
|
|
|
88
88
|
## Platform-Specific Extensions
|
|
89
89
|
|
|
90
|
-
Beside of standard W3C APIs the driver provides the
|
|
90
|
+
Beside of standard W3C APIs the driver provides the below custom command extensions to execute platform specific scenarios. Use the following source code examples in order to invoke them from your client code:
|
|
91
|
+
|
|
92
|
+
```java
|
|
93
|
+
// Java 11+
|
|
94
|
+
var result = driver.executeScript("macos: <methodName>", Map.of(
|
|
95
|
+
"arg1", "value1",
|
|
96
|
+
"arg2", "value2"
|
|
97
|
+
// you may add more pairs if needed or skip providing the map completely
|
|
98
|
+
// if all arguments are defined as optional
|
|
99
|
+
));
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
```js
|
|
103
|
+
// WebdriverIO
|
|
104
|
+
const result = await driver.executeScript('macos: <methodName>', [{
|
|
105
|
+
arg1: "value1",
|
|
106
|
+
arg2: "value2",
|
|
107
|
+
}]);
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
```python
|
|
111
|
+
# Python
|
|
112
|
+
result = driver.execute_script('macos: <methodName>', {
|
|
113
|
+
'arg1': 'value1',
|
|
114
|
+
'arg2': 'value2',
|
|
115
|
+
})
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
```ruby
|
|
119
|
+
# Ruby
|
|
120
|
+
result = @driver.execute_script 'macos: <methodName>', {
|
|
121
|
+
arg1: 'value1',
|
|
122
|
+
arg2: 'value2',
|
|
123
|
+
}
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
```csharp
|
|
127
|
+
// Dotnet
|
|
128
|
+
object result = driver.ExecuteScript("macos: <methodName>", new Dictionary<string, object>() {
|
|
129
|
+
{"arg1", "value1"},
|
|
130
|
+
{"arg2", "value2"}
|
|
131
|
+
});
|
|
132
|
+
```
|
|
91
133
|
|
|
92
134
|
### macos: click
|
|
93
135
|
|