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