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