appium_lib_core 3.11.1 → 4.2.1
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.
- checksums.yaml +4 -4
- data/.github/workflows/unittest.yml +2 -2
- data/.rubocop.yml +20 -10
- data/CHANGELOG.md +27 -268
- data/README.md +1 -1
- data/appium_lib_core.gemspec +3 -3
- data/ci-jobs/functional/ios_setup.yml +2 -0
- data/ci-jobs/functional/run_appium.yml +1 -1
- data/ci-jobs/functional_test.yml +2 -2
- data/lib/appium_lib_core.rb +5 -5
- data/lib/appium_lib_core/android/device.rb +5 -5
- data/lib/appium_lib_core/common/base.rb +1 -0
- data/lib/appium_lib_core/common/base/bridge.rb +10 -36
- data/lib/appium_lib_core/common/base/bridge/w3c.rb +1 -0
- data/lib/appium_lib_core/common/base/driver.rb +6 -4
- data/lib/appium_lib_core/common/base/http_default.rb +2 -1
- data/lib/appium_lib_core/common/base/rotable.rb +54 -0
- data/lib/appium_lib_core/common/base/screenshot.rb +1 -1
- data/lib/appium_lib_core/common/base/search_context.rb +2 -4
- data/lib/appium_lib_core/common/command/common.rb +0 -2
- data/lib/appium_lib_core/common/command/mjsonwp.rb +0 -2
- data/lib/appium_lib_core/common/command/w3c.rb +0 -2
- data/lib/appium_lib_core/common/device/app_management.rb +1 -1
- data/lib/appium_lib_core/common/device/orientation.rb +31 -0
- data/lib/appium_lib_core/common/touch_action/multi_touch.rb +2 -2
- data/lib/appium_lib_core/common/touch_action/touch_actions.rb +3 -3
- data/lib/appium_lib_core/common/wait.rb +2 -2
- data/lib/appium_lib_core/driver.rb +2 -0
- data/lib/appium_lib_core/ios/xcuitest/device.rb +2 -2
- data/lib/appium_lib_core/patch.rb +53 -0
- data/lib/appium_lib_core/version.rb +2 -2
- data/lib/appium_lib_core/windows/device.rb +2 -2
- data/release_notes.md +42 -0
- data/script/commands.rb +3 -3
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3f77d23abb2c69ab5b4f5f733a9b901002f8d5fe24e8b99ad8ef03df1dcad99
|
4
|
+
data.tar.gz: 7acc05e37be676c753e2c0d7519c9882d13eb55bdef32678dd3b44458120e487
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ea82009235de78bedd7a03e4de1021fed4fcb5a21a878697fe4b3dde281d1d36976a2cc6e63dc5d2735cabbe8328f49de3d06f1568ffc48eebbb80144c69d5a
|
7
|
+
data.tar.gz: 4bee50ff9e195d09b634a3ff7420d04ca1ab896d26d9523a40f20ae2db7c6d2d4b81450dee4f2b0e225599e9e1a774c0e5cb19acc6d89bfeb01bd859caecfe6e
|
@@ -11,7 +11,7 @@ jobs:
|
|
11
11
|
strategy:
|
12
12
|
fail-fast: false
|
13
13
|
matrix:
|
14
|
-
ruby: [2.
|
14
|
+
ruby: [2.4, 2.5, 2.6, 2.7, 3.0]
|
15
15
|
|
16
16
|
runs-on: ubuntu-latest
|
17
17
|
|
@@ -38,7 +38,7 @@ jobs:
|
|
38
38
|
fail-fast: false
|
39
39
|
matrix:
|
40
40
|
# Does not add 2.7 on Windows so far since a command fails only on Windows
|
41
|
-
ruby: [2.
|
41
|
+
ruby: [2.4, 2.5, 2.6]
|
42
42
|
|
43
43
|
runs-on: windows-latest
|
44
44
|
|
data/.rubocop.yml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.
|
3
|
-
|
2
|
+
TargetRubyVersion: 2.4
|
3
|
+
Layout/LineLength:
|
4
4
|
Max: 128
|
5
|
+
Layout/RescueEnsureAlignment:
|
6
|
+
Enabled: false
|
7
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
8
|
+
Enabled: false
|
9
|
+
Layout/EmptyLineBetweenDefs:
|
10
|
+
Enabled: false
|
11
|
+
Layout/HashAlignment:
|
12
|
+
Enabled: false
|
5
13
|
Metrics/MethodLength:
|
6
14
|
Enabled: false
|
7
15
|
Metrics/ModuleLength:
|
@@ -18,9 +26,6 @@ Metrics/ParameterLists:
|
|
18
26
|
Enabled: false
|
19
27
|
Lint/NestedMethodDefinition:
|
20
28
|
Enabled: false
|
21
|
-
# TODO: Replace <<- with <<~ after dropping Ruby 2.2
|
22
|
-
Layout/IndentHeredoc:
|
23
|
-
Enabled: false
|
24
29
|
Style/ZeroLengthPredicate:
|
25
30
|
Enabled: false
|
26
31
|
Style/Documentation:
|
@@ -29,12 +34,9 @@ Style/CommentedKeyword:
|
|
29
34
|
Enabled: false
|
30
35
|
Style/PercentLiteralDelimiters:
|
31
36
|
Enabled: false
|
32
|
-
Style/BracesAroundHashParameters:
|
33
|
-
Enabled: false
|
34
37
|
Style/SymbolArray:
|
35
38
|
Enabled: false
|
36
|
-
|
37
|
-
Style/NumericPredicate:
|
39
|
+
Style/UnpackFirst:
|
38
40
|
Enabled: false
|
39
41
|
Naming/AccessorMethodName:
|
40
42
|
Enabled: false
|
@@ -44,5 +46,13 @@ Naming/MemoizedInstanceVariableName:
|
|
44
46
|
- test/**/*
|
45
47
|
Naming/RescuedExceptionsVariableName:
|
46
48
|
Enabled: false
|
47
|
-
|
49
|
+
Style/CaseLikeIf:
|
50
|
+
Enabled: false
|
51
|
+
Style/RedundantRegexpEscape:
|
52
|
+
Enabled: false
|
53
|
+
Style/OptionalBooleanParameter:
|
54
|
+
Enabled: false
|
55
|
+
Style/ExplicitBlockArgument:
|
56
|
+
Enabled: false
|
57
|
+
Style/KeywordParametersOrder:
|
48
58
|
Enabled: false
|
data/CHANGELOG.md
CHANGED
@@ -10,43 +10,54 @@ Read `release_notes.md` for commit level details.
|
|
10
10
|
|
11
11
|
### Deprecations
|
12
12
|
|
13
|
-
## [
|
13
|
+
## [4.2.1] - 2021-01-10
|
14
14
|
|
15
15
|
### Enhancements
|
16
|
+
- Refactor routable
|
16
17
|
|
17
|
-
|
18
|
-
- Fix `install_app` to be able to set no args for options
|
18
|
+
## [4.2.0] - 2021-01-02
|
19
19
|
|
20
|
-
###
|
20
|
+
### Enhancements
|
21
|
+
- Add `Element#screenshot`, `Element#screenshot_as` and `Element#save_screenshot` in Element module
|
22
|
+
- `Element#screenshot_as` and `Element#save_screenshot` are same as `Driver#element_screenshot_as` and `Driver#save_element_screenshot`
|
23
|
+
- `Element#screenshot` is same as `Element#screenshot_as(:base64)`
|
21
24
|
|
22
|
-
## [
|
25
|
+
## [4.1.1] - 2020-12-25
|
23
26
|
|
24
27
|
### Enhancements
|
25
|
-
-
|
26
|
-
-
|
28
|
+
- Ruby 3.0 support
|
29
|
+
- Arguments in `@driver.execute_cdp`
|
30
|
+
- It should be like `@driver.execute_cdp 'Page.captureScreenshot', quality: 50, format: 'jpeg'` as keyword arguments
|
31
|
+
instead of `@driver.execute_cdp 'Page.captureScreenshot', { quality: 50, format: 'jpeg' }` in Ruby 3
|
27
32
|
|
28
|
-
|
33
|
+
## [4.0.0] - 2020-12-19
|
34
|
+
|
35
|
+
Supported Ruby version is 2.4+
|
29
36
|
|
30
37
|
### Deprecations
|
38
|
+
- No longer work with `forceMjsonwp` capability to force the session MJSONWP
|
31
39
|
|
32
|
-
## [3.
|
40
|
+
## [3.11.1] - 2020-11-20
|
41
|
+
|
42
|
+
### Bug fixes
|
43
|
+
- Fix `install_app` to be able to set no args for options
|
44
|
+
|
45
|
+
## [3.11.0] - 2020-08-01
|
33
46
|
|
34
47
|
### Enhancements
|
48
|
+
- Security update [GHSA-2v5c-755p-p4gv](https://github.com/advisories/GHSA-2v5c-755p-p4gv)
|
49
|
+
- Affects only _::Appium::Core::WebSocket_
|
50
|
+
|
51
|
+
## [3.10.1] - 2020-06-29
|
35
52
|
|
36
53
|
### Bug fixes
|
37
54
|
- Fix duplication warning of `execute_cdp`
|
38
55
|
|
39
|
-
### Deprecations
|
40
|
-
|
41
56
|
## [3.10.0] - 2020-06-09
|
42
57
|
|
43
58
|
### Enhancements
|
44
59
|
- Remove deprecated `Selenium::WebDriver::Error::TimeOutError`
|
45
60
|
|
46
|
-
### Bug fixes
|
47
|
-
|
48
|
-
### Deprecations
|
49
|
-
|
50
61
|
## [3.9.0] - 2020-05-31
|
51
62
|
|
52
63
|
### Enhancements
|
@@ -65,10 +76,6 @@ Read `release_notes.md` for commit level details.
|
|
65
76
|
@driver = Appium::Core.for(opts).start_driver
|
66
77
|
```
|
67
78
|
|
68
|
-
### Bug fixes
|
69
|
-
|
70
|
-
### Deprecations
|
71
|
-
|
72
79
|
## [3.8.0] - 2020-05-17
|
73
80
|
|
74
81
|
### Enhancements
|
@@ -78,8 +85,6 @@ Read `release_notes.md` for commit level details.
|
|
78
85
|
### Bug fixes
|
79
86
|
- Fix `x-idempotency-key` header to add it only in new session request (https://github.com/appium/ruby_lib_core/issues/262)
|
80
87
|
|
81
|
-
### Deprecations
|
82
|
-
|
83
88
|
## [3.7.0] - 2020-04-18
|
84
89
|
|
85
90
|
### Enhancements
|
@@ -88,76 +93,44 @@ Read `release_notes.md` for commit level details.
|
|
88
93
|
- Add chrome devtools endpoint which is available chrome module in Selenium Ruby binding
|
89
94
|
- https://github.com/appium/appium-base-driver/pull/405
|
90
95
|
|
91
|
-
### Bug fixes
|
92
|
-
|
93
|
-
### Deprecations
|
94
|
-
|
95
96
|
## [3.6.1, 3.6.0] - 2020-03-15
|
96
97
|
|
97
98
|
### Enhancements
|
98
99
|
- Add screen record feature for Windows driver (https://github.com/appium/appium-windows-driver/pull/66)
|
99
100
|
- `#start_recording_screen`, `#stop_recording_screen`
|
100
101
|
|
101
|
-
### Bug fixes
|
102
|
-
|
103
|
-
### Deprecations
|
104
|
-
|
105
102
|
## [3.5.0] - 2020-01-11
|
106
103
|
|
107
104
|
### Enhancements
|
108
105
|
- Add `:viewmatcher` selector like `@driver.find_elements :view_matcher, { name: 'withText', args: %w(Accessibility), class: 'androidx.test.espresso.matcher.ViewMatchers' }`
|
109
106
|
|
110
|
-
### Bug fixes
|
111
|
-
|
112
|
-
### Deprecations
|
113
|
-
|
114
107
|
## [3.4.2] - 2019-12-29
|
115
108
|
|
116
109
|
### Enhancements
|
117
110
|
- Add `attr_reader :bridge` for flutter driver not to use `send`
|
118
111
|
- https://github.com/truongsinh/appium-flutter-driver/pull/35
|
119
112
|
|
120
|
-
### Bug fixes
|
121
|
-
|
122
|
-
### Deprecations
|
123
|
-
|
124
113
|
## [3.4.0, 3.4.1] - 2019-12-26, 2019-12-27
|
125
114
|
|
126
115
|
### Enhancements
|
127
116
|
- Fix Ruby 2.7 warnings
|
128
117
|
|
129
|
-
### Bug fixes
|
130
|
-
|
131
|
-
### Deprecations
|
132
|
-
|
133
118
|
## [3.3.0] - 2019-11-08
|
134
119
|
|
135
120
|
### Enhancements
|
136
121
|
- Add `Logs#event` to post a custom log by `@driver.logs.event vendor: 'appium', event: 'funEvent'`
|
137
122
|
- Add `Logs#events` to get events by `@driver.logs.events`. It is equal to `@driver.session_capabilities['events']`
|
138
123
|
|
139
|
-
### Bug fixes
|
140
|
-
|
141
|
-
### Deprecations
|
142
|
-
|
143
124
|
## [3.2.3] - 2019-09-30
|
144
125
|
|
145
126
|
### Enhancements
|
146
127
|
- Add `system_bars` as an alias to `get_system_bars`
|
147
128
|
|
148
|
-
### Bug fixes
|
149
|
-
|
150
|
-
### Deprecations
|
151
|
-
|
152
129
|
## [3.2.2] - 2019-08-04
|
153
130
|
|
154
|
-
### Enhancements
|
155
|
-
|
156
131
|
### Bug fixes
|
157
132
|
- Fixed parameters of `remove_app`
|
158
133
|
|
159
|
-
### Deprecations
|
160
|
-
|
161
134
|
## [3.2.1] - 2019-07-19
|
162
135
|
|
163
136
|
### Enhancements
|
@@ -179,39 +152,23 @@ Read `release_notes.md` for commit level details.
|
|
179
152
|
- Add `execute_driver` to run a batch script
|
180
153
|
- It requires Appium version which has `execute_driver` support
|
181
154
|
|
182
|
-
### Bug fixes
|
183
|
-
|
184
|
-
### Deprecations
|
185
|
-
|
186
155
|
## [3.1.3] - 2019-06-18
|
187
156
|
|
188
157
|
### Enhancements
|
189
158
|
- Add arguments for `start_activity`
|
190
159
|
- `intentAction`, `intentCategory`, `intentFlags`, `dontStopAppOnReset`
|
191
160
|
|
192
|
-
### Bug fixes
|
193
|
-
|
194
|
-
### Deprecations
|
195
|
-
|
196
161
|
## [3.1.2] - 2019-05-10
|
197
162
|
|
198
163
|
### Enhancements
|
199
164
|
- Add `sessions` command to get all available sessions on the Appium server
|
200
165
|
- [internal] Tweak error messages in emulator module
|
201
166
|
|
202
|
-
### Bug fixes
|
203
|
-
|
204
|
-
### Deprecations
|
205
|
-
|
206
167
|
## [3.1.1] - 2019-04-26
|
207
168
|
|
208
169
|
### Enhancements
|
209
170
|
- [internal] Catch `Selenium::WebDriver::Error::TimeoutError` which will be used instead of `Selenium::WebDriver::Error::TimeOutError`
|
210
171
|
|
211
|
-
### Bug fixes
|
212
|
-
|
213
|
-
### Deprecations
|
214
|
-
|
215
172
|
## [3.1.0] - 2019-03-31
|
216
173
|
|
217
174
|
### Enhancements
|
@@ -219,28 +176,16 @@ Read `release_notes.md` for commit level details.
|
|
219
176
|
- `platformName: :tvos, automationName: :xcuitest` can work for iOS tvOS
|
220
177
|
- It requires Appium 1.13
|
221
178
|
|
222
|
-
### Bug fixes
|
223
|
-
|
224
|
-
### Deprecations
|
225
|
-
|
226
179
|
## [3.0.4] - 2019-03-24
|
227
180
|
|
228
181
|
### Enhancements
|
229
182
|
- Add `pixelFormat` argument in screen record for iOS
|
230
183
|
|
231
|
-
### Bug fixes
|
232
|
-
|
233
|
-
### Deprecations
|
234
|
-
|
235
184
|
## [3.0.3] - 2019-03-11
|
236
185
|
|
237
186
|
### Enhancements
|
238
187
|
- [internal] Bump Rubocop target Ruby version to Ruby 2.3
|
239
188
|
|
240
|
-
### Bug fixes
|
241
|
-
|
242
|
-
### Deprecations
|
243
|
-
|
244
189
|
## [3.0.2] - 2019-03-07
|
245
190
|
|
246
191
|
### Enhancements
|
@@ -250,17 +195,11 @@ Read `release_notes.md` for commit level details.
|
|
250
195
|
- [internal] Fixed typo in `Emulator#gsm_signal` [#196](https://github.com/appium/ruby_lib_core/pull/196)
|
251
196
|
- Thanks [khanhdodang](https://github.com/khanhdodang)
|
252
197
|
|
253
|
-
### Deprecations
|
254
|
-
|
255
198
|
## [3.0.1] - 2019-02-25
|
256
199
|
|
257
200
|
### Enhancements
|
258
201
|
- Add `:data_matcher` find_element/s attribute [appium-espresso-driver#386](https://github.com/appium/appium-espresso-driver/pull/386)
|
259
202
|
|
260
|
-
### Bug fixes
|
261
|
-
|
262
|
-
### Deprecations
|
263
|
-
|
264
203
|
## [3.0.0] - 2019-02-06
|
265
204
|
|
266
205
|
This release has a breaking change about an implicit wait.
|
@@ -286,8 +225,6 @@ The behaviour follows the default spec in WebDriver.
|
|
286
225
|
### Bug fixes
|
287
226
|
- Fix potential override of `AppManagement#background_app` [#188](https://github.com/appium/ruby_lib_core/pull/188)
|
288
227
|
|
289
|
-
### Deprecations
|
290
|
-
|
291
228
|
## [2.3.4] - 2019-01-31
|
292
229
|
### Enhancements
|
293
230
|
- Add 3D touch option for `TouchAction#press` [appium/WebDriverAgent#79](https://github.com/appium/WebDriverAgent/pull/79)
|
@@ -296,16 +233,10 @@ The behaviour follows the default spec in WebDriver.
|
|
296
233
|
### Bug fixes
|
297
234
|
- Stop sending blank value in `start_activity`
|
298
235
|
|
299
|
-
### Deprecations
|
300
|
-
|
301
236
|
## [2.3.3] - 2019-01-22
|
302
|
-
### Enhancements
|
303
|
-
|
304
237
|
### Bug fixes
|
305
238
|
- Add `*args, &block` in method missing in `Selenium::WebDriver::Element` [#184](https://github.com/appium/ruby_lib_core/pull/184)
|
306
239
|
|
307
|
-
### Deprecations
|
308
|
-
|
309
240
|
## [2.3.2] - 2019-01-20
|
310
241
|
### Enhancements
|
311
242
|
- Add alias for some method calls
|
@@ -316,18 +247,12 @@ The behaviour follows the default spec in WebDriver.
|
|
316
247
|
### Bug fixes
|
317
248
|
- `ServerError` inherits `CoreError` in order to handle it as an exception
|
318
249
|
|
319
|
-
### Deprecations
|
320
|
-
|
321
250
|
## [2.3.1] - 2019-01-13
|
322
251
|
### Enhancements
|
323
252
|
- `set_network_connection` accepts keys as same as `network_connection_type` in addition to numbers
|
324
253
|
- `{ :airplane_mode: 1, wifi: 2, data: 4, all: 6, none: 0 }`
|
325
254
|
- Read [documentation](https://www.rubydoc.info/github/appium/ruby_lib_core/master/Appium/Core/Android/Device#set_network_connection-instance_method) more
|
326
255
|
|
327
|
-
### Bug fixes
|
328
|
-
|
329
|
-
### Deprecations
|
330
|
-
|
331
256
|
## [2.3.0] - 2019-01-07
|
332
257
|
### Enhancements
|
333
258
|
- Use `Base64.strict_encode64` when this client sends `Base64` encoded data to server
|
@@ -335,33 +260,19 @@ The behaviour follows the default spec in WebDriver.
|
|
335
260
|
- Continues to decode base 64 data following `decode64` to accept RFC 2045 format
|
336
261
|
- Add `query_app_state` as an alias of `app_state` to get application status
|
337
262
|
|
338
|
-
### Bug fixes
|
339
|
-
|
340
|
-
### Deprecations
|
341
|
-
|
342
263
|
## [2.2.2] - 2018-12-22
|
343
264
|
### Enhancements
|
344
265
|
- Append `appium` in header: `appium/ruby_lib_core/2.2.1 (selenium/3.141.0 (ruby macosx))`
|
345
266
|
|
346
|
-
### Bug fixes
|
347
|
-
|
348
|
-
### Deprecations
|
349
|
-
|
350
267
|
## [2.2.1] - 2018-12-08
|
351
|
-
### Enhancements
|
352
|
-
|
353
268
|
### Bug fixes
|
354
269
|
- Reduce warnings for method definitions
|
355
270
|
|
356
|
-
### Deprecations
|
357
|
-
|
358
271
|
## [2.2.0] - 2018-12-01
|
359
272
|
### Enhancements
|
360
273
|
- Add `::Appium::Core::Base.platform` to call `::Selenium::WebDriver::Platform`
|
361
274
|
- Can identify platform using `::Appium::Core::Base.platform.windows?` for example
|
362
275
|
|
363
|
-
### Bug fixes
|
364
|
-
|
365
276
|
### Deprecations
|
366
277
|
- `:offset_x` and `:offset_y` in `TouchAction#swipe` is deprecated in favor of `:end_x` and `:end_y`
|
367
278
|
|
@@ -380,10 +291,6 @@ The behaviour follows the default spec in WebDriver.
|
|
380
291
|
- Update `start_recording_screen` for iOS, Appium 1.10.0
|
381
292
|
- Add `:video_scale` and update `:video_type`
|
382
293
|
|
383
|
-
### Bug fixes
|
384
|
-
|
385
|
-
### Deprecations
|
386
|
-
|
387
294
|
## [2.1.0] - 2018-11-14
|
388
295
|
### Enhancements
|
389
296
|
- Support below style _1_, has _url_ parameter, in addition to style _2_
|
@@ -396,27 +303,15 @@ The behaviour follows the default spec in WebDriver.
|
|
396
303
|
```
|
397
304
|
- Add `:video_fps` param for screen recording in iOS(XCUITest) to sync with Appium 1.10.0
|
398
305
|
|
399
|
-
### Bug fixes
|
400
|
-
|
401
|
-
### Deprecations
|
402
|
-
|
403
306
|
## [2.0.6] - 2018-11-08
|
404
307
|
### Enhancements
|
405
308
|
- Allow selenium update following Pi versioning like 3.141.0
|
406
309
|
- [internal] Update dev libraries
|
407
310
|
|
408
|
-
### Bug fixes
|
409
|
-
|
410
|
-
### Deprecations
|
411
|
-
|
412
311
|
## [2.0.5] - 2018-10-30
|
413
312
|
### Enhancements
|
414
313
|
- [internal] No longer send `strategy: :tapOutside` as default value in Android
|
415
314
|
|
416
|
-
### Bug fixes
|
417
|
-
|
418
|
-
### Deprecations
|
419
|
-
|
420
315
|
## [2.0.4] - 2018-10-19
|
421
316
|
### Enhancements
|
422
317
|
- Add custom locator in the future work: [element-finding-plugins](https://github.com/appium/appium/blob/master/docs/en/advanced-concepts/element-finding-plugins.md)
|
@@ -426,27 +321,15 @@ The behaviour follows the default spec in WebDriver.
|
|
426
321
|
|
427
322
|
```
|
428
323
|
|
429
|
-
### Bug fixes
|
430
|
-
|
431
|
-
### Deprecations
|
432
|
-
|
433
324
|
## [2.0.3] - 2018-10-11
|
434
325
|
### Enhancements
|
435
326
|
- Set `'selenium-webdriver', '~> 3.14.1'`
|
436
327
|
|
437
|
-
### Bug fixes
|
438
|
-
|
439
|
-
### Deprecations
|
440
|
-
|
441
328
|
## [2.0.2] - 2018-10-02
|
442
329
|
### Enhancements
|
443
330
|
- Add finger print feature for Android emulators [#13](https://github.com/appium/ruby_lib_core/issues/13)
|
444
331
|
- Add `keyboard_shown?` and `context=` as aliases of `is_keyboard_shown` and `set_contex`
|
445
332
|
|
446
|
-
### Bug fixes
|
447
|
-
|
448
|
-
### Deprecations
|
449
|
-
|
450
333
|
## [2.0.1] - 2018-09-01
|
451
334
|
### Enhancements
|
452
335
|
- Add `Appium::Core::Base::Driver#perform_actions` to send multiple actions. See `test_multiple_actions` as an example.
|
@@ -454,8 +337,6 @@ The behaviour follows the default spec in WebDriver.
|
|
454
337
|
### Bug fixes
|
455
338
|
- Fix desired capability for W3C protocol under selenium grid environment [#137](https://github.com/appium/ruby_lib_core/issues/137)
|
456
339
|
|
457
|
-
### Deprecations
|
458
|
-
|
459
340
|
## [2.0.0] - 2018-08-25
|
460
341
|
|
461
342
|
This release has a breaking change for creating core. Thus, I've bumped the major version.
|
@@ -463,20 +344,14 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
463
344
|
### Enhancements
|
464
345
|
- use `autoload` to load Android/iOS modules
|
465
346
|
|
466
|
-
### Bug fixes
|
467
|
-
|
468
347
|
### Deprecations
|
469
348
|
- `@core = Appium::Core.for(self, opts)` is deprecated in favor of `@core = Appium::Core.for(opts)`
|
470
349
|
- Call `extend Appium::Core::Device` if you'd like to extend methods defined in `Appium::Core`
|
471
350
|
- Read [#816](https://github.com/appium/ruby_lib/pull/816) as an example
|
472
351
|
|
473
352
|
## [1.9.2] - 2018-08-23
|
474
|
-
### Enhancements
|
475
|
-
|
476
353
|
### Bug fixes
|
477
|
-
- fix
|
478
|
-
|
479
|
-
### Deprecations
|
354
|
+
- fix unexpected method missing against `:to_hash` in Element
|
480
355
|
|
481
356
|
## [1.9.1] - 2018-08-20
|
482
357
|
### Enhancements
|
@@ -486,8 +361,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
486
361
|
### Bug fixes
|
487
362
|
- [internal] Fix raising error in `set_implicit_wait_by_default` [#130](https://github.com/appium/ruby_lib_core/issues/130)
|
488
363
|
|
489
|
-
### Deprecations
|
490
|
-
|
491
364
|
## [1.9.0] - 2018-08-05
|
492
365
|
### Enhancements
|
493
366
|
- Update documentation about `start_recording_screen`
|
@@ -495,8 +368,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
495
368
|
- Support `find_element/s :image, partial_image` [#119](https://github.com/appium/ruby_lib_core/pull/119)
|
496
369
|
- Requires `selenium-webdriver 3.14+` because of W3C actions [#115](https://github.com/appium/ruby_lib_core/pull/115)
|
497
370
|
|
498
|
-
### Bug fixes
|
499
|
-
|
500
371
|
### Deprecations
|
501
372
|
- [Internal] Deprecate experimental `ImageElement` in favor of `Element`
|
502
373
|
|
@@ -506,10 +377,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
506
377
|
- Use method missing to get attributes like `e.resource_id` instead of `e.attribute 'resource-id'` [#116](https://github.com/appium/ruby_lib_core/pull/116)
|
507
378
|
- Set `'~> 3.5', '< 3.14'`
|
508
379
|
|
509
|
-
### Bug fixes
|
510
|
-
|
511
|
-
### Deprecations
|
512
|
-
|
513
380
|
## [1.8.3] - 2018-07-20
|
514
381
|
### Enhancements
|
515
382
|
- Relax the logic of `:app` capability
|
@@ -517,11 +384,7 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
517
384
|
### Bug fixes
|
518
385
|
- Fix `within_context`
|
519
386
|
|
520
|
-
### Deprecations
|
521
|
-
|
522
387
|
## [1.8.2] - 2018-07-17
|
523
|
-
### Enhancements
|
524
|
-
|
525
388
|
### Bug fixes
|
526
389
|
- Available packages over HTTP [#106](https://github.com/appium/ruby_lib_core/issues/106)
|
527
390
|
|
@@ -529,23 +392,15 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
529
392
|
- Remove warning of camelCase capability for W3C format
|
530
393
|
|
531
394
|
## [1.8.1] - 2018-07-13
|
532
|
-
### Enhancements
|
533
|
-
|
534
395
|
### Bug fixes
|
535
396
|
- Fix including search context in `::Selenium::WebDriver::Elemenet`
|
536
397
|
- `include ::Appium::Core::Base::SearchContext` instead of `::Selenium::WebDriver::SearchContext`
|
537
398
|
|
538
|
-
### Deprecations
|
539
|
-
|
540
399
|
## [1.8.0] - 2018-07-07
|
541
400
|
### Enhancements
|
542
401
|
- Add Tizen case
|
543
402
|
- [Internal] reduce method definition by `add_endpoint_method`
|
544
403
|
|
545
|
-
### Bug fixes
|
546
|
-
|
547
|
-
### Deprecations
|
548
|
-
|
549
404
|
## [1.7.2] - 2018-06-23
|
550
405
|
### Enhancements
|
551
406
|
- Add `find_element_by_image` and `find_elements_by_image` to handle `ImageElement`
|
@@ -554,10 +409,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
554
409
|
- Experimental feature
|
555
410
|
- [Internal] Define screenshot methods in appium_lib_core instead of Selenium's one
|
556
411
|
|
557
|
-
### Bug fixes
|
558
|
-
|
559
|
-
### Deprecations
|
560
|
-
|
561
412
|
## [1.7.1] - 2018-06-15
|
562
413
|
### Enhancements
|
563
414
|
- Add a `format` argument for `device_time` [#94](https://github.com/appium/ruby_lib_core/pull/94)
|
@@ -565,8 +416,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
565
416
|
### Bug fixes
|
566
417
|
- Return empty array `[]` for find_elements
|
567
418
|
|
568
|
-
### Deprecations
|
569
|
-
|
570
419
|
## [1.7.0] - 2018-05-28
|
571
420
|
### Enhancements
|
572
421
|
- Has one **Breaking Change**
|
@@ -579,10 +428,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
579
428
|
- [Internal] Change directory and file structure
|
580
429
|
- [Internal] Set default content-type
|
581
430
|
|
582
|
-
### Bug fixes
|
583
|
-
|
584
|
-
### Deprecations
|
585
|
-
|
586
431
|
## [1.6.0] - 2018-05-08
|
587
432
|
### Enhancements
|
588
433
|
- **Breaking Change**
|
@@ -594,36 +439,22 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
594
439
|
- add `battery_info` to get battery information
|
595
440
|
- add `is_keyboard_shown` for iOS ( see also https://github.com/appium/appium-xcuitest-driver/pull/664/files )
|
596
441
|
|
597
|
-
### Bug fixes
|
598
|
-
|
599
|
-
### Deprecations
|
600
|
-
|
601
442
|
## [1.5.1] - 2018-04-25
|
602
|
-
### Enhancements
|
603
|
-
|
604
443
|
### Bug fixes
|
605
444
|
- Revert timeout logic in `1.4.1`
|
606
445
|
|
607
|
-
### Deprecations
|
608
|
-
|
609
446
|
## [1.5.0] - 2018-04-25
|
610
447
|
### Enhancements
|
611
448
|
- [internal] Remove hot fix for XCUITest action
|
612
449
|
|
613
|
-
### Bug fixes
|
614
|
-
|
615
450
|
### Deprecations
|
616
451
|
- Changed the name of arguments
|
617
452
|
- `swipe(start_x:, start_y:, end_x:, end_y:)` instead of `swipe(start_x:, start_y:, offset_x:, offset_y:)`
|
618
453
|
|
619
454
|
## [1.4.2] - 2018-04-22
|
620
|
-
### Enhancements
|
621
|
-
|
622
455
|
### Bug fixes
|
623
456
|
- Revert `delegate_from_appium_driver` for `ruby_lib` compatibility
|
624
457
|
|
625
|
-
### Deprecations
|
626
|
-
|
627
458
|
## [1.4.1] - 2018-04-22
|
628
459
|
### Enhancements
|
629
460
|
- add base image comparison
|
@@ -632,54 +463,30 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
632
463
|
- Raise `::Appium::Core::Wait::TimeoutError` instead of `::Selenium::WebDriver::Error::TimeOutError`
|
633
464
|
- [internal] Separate mjsonwp commands module and w3c commands module from one command module
|
634
465
|
|
635
|
-
### Bug fixes
|
636
|
-
|
637
|
-
### Deprecations
|
638
|
-
|
639
466
|
## [1.4.0] - 2018-04-15
|
640
467
|
### Enhancements
|
641
468
|
- Add a support for WebSocket client based on Faye::WebSocket::Client [#74](https://github.com/appium/ruby_lib_core/pull/74)
|
642
469
|
|
643
|
-
### Bug fixes
|
644
|
-
|
645
|
-
### Deprecations
|
646
|
-
|
647
470
|
## [1.3.8] - 2018-04-12
|
648
471
|
### Enhancements
|
649
472
|
- Make no-argument commands friendly for IDE
|
650
473
|
|
651
|
-
### Bug fixes
|
652
|
-
|
653
|
-
### Deprecations
|
654
|
-
|
655
474
|
## [1.3.7] - 2018-04-02
|
656
475
|
### Enhancements
|
657
476
|
- Only for `ruby_lib_core` internal process
|
658
477
|
- Remove `touch` action by default and following `selenium-webdriver` in W3C action.
|
659
478
|
- Since XCUITest and UA2 drivers force handling the pointer as `touch`.
|
660
479
|
|
661
|
-
### Bug fixes
|
662
|
-
|
663
|
-
### Deprecations
|
664
|
-
|
665
480
|
## [1.3.6] - 2018-04-01
|
666
481
|
### Enhancements
|
667
482
|
- Be able to change `kind` in W3C touch action.
|
668
483
|
- Read: https://github.com/appium/ruby_lib_core/blob/master/lib/appium_lib_core/common/base/bridge/w3c.rb#L29
|
669
484
|
|
670
|
-
### Bug fixes
|
671
|
-
|
672
|
-
### Deprecations
|
673
|
-
|
674
485
|
## [1.3.5] - 2018-03-30
|
675
486
|
### Enhancements
|
676
487
|
- Add a `bug_report` option in `start_recording_screen`, Android
|
677
488
|
- Add clipboard apis [#69](https://github.com/appium/ruby_lib_core/pull/69)
|
678
489
|
|
679
|
-
### Bug fixes
|
680
|
-
|
681
|
-
### Deprecations
|
682
|
-
|
683
490
|
## [1.3.4] - 2018-03-21
|
684
491
|
### Enhancements
|
685
492
|
- Add `save_viewport_screenshot` which get screenshot except for status bar.
|
@@ -689,16 +496,10 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
689
496
|
### Bug fixes
|
690
497
|
- Fix _create_session attempt to throw non-existent error type Appium::Core::Error::WebDriverError_ [#66](https://github.com/appium/ruby_lib_core/issues/66)
|
691
498
|
|
692
|
-
### Deprecations
|
693
|
-
|
694
499
|
## [1.3.3] - 2018-03-03
|
695
500
|
### Enhancements
|
696
501
|
- add `session_capabilities`: https://appium.io/docs/en/commands/session/get/
|
697
502
|
|
698
|
-
### Bug fixes
|
699
|
-
|
700
|
-
### Deprecations
|
701
|
-
|
702
503
|
## [1.3.2] - 2018-02-18
|
703
504
|
### Enhancements
|
704
505
|
- Add Android emulator commands
|
@@ -706,10 +507,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
706
507
|
- Add toggles
|
707
508
|
- `toggle_location_services`, `toggle_wifi`, `toggle_data`
|
708
509
|
|
709
|
-
### Bug fixes
|
710
|
-
|
711
|
-
### Deprecations
|
712
|
-
|
713
510
|
## [1.3.1] - 2018-02-14
|
714
511
|
### Enhancements
|
715
512
|
- add some app management commands [#58](https://github.com/appium/ruby_lib_core/pull/58)
|
@@ -731,10 +528,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
731
528
|
.perform
|
732
529
|
```
|
733
530
|
|
734
|
-
### Bug fixes
|
735
|
-
|
736
|
-
### Deprecations
|
737
|
-
|
738
531
|
## [1.3.0] - 2018-01-28
|
739
532
|
### Enhancements
|
740
533
|
- `start_recording_screen`/`stop_recording_screen` support iOS from `Appium 1.8.0` [#48](https://github.com/appium/ruby_lib_core/issues/48)
|
@@ -742,10 +535,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
742
535
|
- `start_recording_screen`
|
743
536
|
- The argument, `file_path`, was removed.
|
744
537
|
|
745
|
-
### Bug fixes
|
746
|
-
|
747
|
-
### Deprecations
|
748
|
-
|
749
538
|
## [1.2.7] - 2018-01-25
|
750
539
|
### Enhancements
|
751
540
|
- Print warning messages to use camelCase if capability key names are snake_case
|
@@ -754,8 +543,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
754
543
|
### Bug fixes
|
755
544
|
- Make `@driver.automation_name` downcase [#50](https://github.com/appium/ruby_lib_core/issues/50)
|
756
545
|
|
757
|
-
### Deprecations
|
758
|
-
|
759
546
|
## [1.2.6] - 2018-01-21
|
760
547
|
### Enhancements
|
761
548
|
- Add `window_rect`
|
@@ -763,17 +550,11 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
763
550
|
### Bug fixes
|
764
551
|
- Make `@driver.automation_name` symbol when someone define the `automationName` with the server argument. [#50](https://github.com/appium/ruby_lib_core/issues/50)
|
765
552
|
|
766
|
-
### Deprecations
|
767
|
-
|
768
553
|
## [1.2.5] - 2018-01-13
|
769
554
|
### Enhancements
|
770
555
|
- Enhance W3C support
|
771
556
|
- Timeout related methods
|
772
557
|
|
773
|
-
### Bug fixes
|
774
|
-
|
775
|
-
### Deprecations
|
776
|
-
|
777
558
|
## [1.2.4] - 2018-01-03
|
778
559
|
### Enhancements
|
779
560
|
- Refactor `create_session` in `Appium::Core::Base::Bridge`
|
@@ -785,34 +566,18 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
785
566
|
- Read `lib/appium_lib_core/common/base/w3c_bridge.rb` for more details
|
786
567
|
- Can get logs like `driver.logs.available_types` and `driver.logs.get`
|
787
568
|
|
788
|
-
### Bug fixes
|
789
|
-
|
790
|
-
### Deprecations
|
791
|
-
|
792
569
|
## [1.2.3] - 2017-12-27
|
793
|
-
### Enhancements
|
794
|
-
|
795
570
|
### Bug fixes
|
796
571
|
- Fix some w3c methods to work with Appium part 2 [#38](https://github.com/appium/ruby_lib_core/pull/38)
|
797
572
|
|
798
|
-
### Deprecations
|
799
|
-
|
800
573
|
## [1.2.2] - 2017-12-25
|
801
|
-
### Enhancements
|
802
|
-
|
803
574
|
### Bug fixes
|
804
575
|
- Fix some w3c methods to work with Appium [#37](https://github.com/appium/ruby_lib_core/pull/37)
|
805
576
|
|
806
|
-
### Deprecations
|
807
|
-
|
808
577
|
## [1.2.1] - 2017-12-23
|
809
578
|
### Enhancements
|
810
579
|
- override default duration to make some action fast [#36](https://github.com/appium/ruby_lib_core/pull/36)
|
811
580
|
|
812
|
-
### Bug fixes
|
813
|
-
|
814
|
-
### Deprecations
|
815
|
-
|
816
581
|
## [1.2.0] - 2017-12-23
|
817
582
|
### Enhancements
|
818
583
|
- Append `appium:` prefix for capabilities automatically due to W3C format.
|
@@ -821,10 +586,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
821
586
|
- IME related
|
822
587
|
- Touch actions based on W3C spec
|
823
588
|
|
824
|
-
### Bug fixes
|
825
|
-
|
826
|
-
### Deprecations
|
827
|
-
|
828
589
|
## [1.1.0] - 2017-12-16
|
829
590
|
### Enhancements
|
830
591
|
- Add guidelines in `.github`
|
@@ -833,8 +594,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
833
594
|
### Bug fixes
|
834
595
|
- fix creating sessions [#31](https://github.com/appium/ruby_lib_core/pull/31) for W3C creating sessions
|
835
596
|
|
836
|
-
### Deprecations
|
837
|
-
|
838
597
|
## [1.0.0] - 2017-11-12
|
839
598
|
|
840
599
|
Initial release
|