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