appium_lib_core 4.1.0 → 9.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +352 -270
- data/README.md +68 -16
- data/Rakefile +8 -20
- data/Steepfile +11 -0
- data/appium_lib_core.gemspec +13 -15
- data/bin/console +0 -4
- data/lib/appium_lib_core/android/device/auth_finger_print.rb +4 -1
- data/lib/appium_lib_core/android/device/clipboard.rb +4 -2
- data/lib/appium_lib_core/android/device/emulator.rb +11 -5
- data/lib/appium_lib_core/android/device/network.rb +10 -0
- data/lib/appium_lib_core/android/device/performance.rb +3 -0
- data/lib/appium_lib_core/android/device/screen.rb +5 -1
- data/lib/appium_lib_core/android/device.rb +83 -20
- data/lib/appium_lib_core/common/base/bridge.rb +238 -95
- data/lib/appium_lib_core/common/base/capabilities.rb +21 -8
- data/lib/appium_lib_core/common/{command/mjsonwp.rb → base/device_ime.rb} +33 -12
- data/lib/appium_lib_core/common/base/driver.rb +263 -334
- 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 +22 -38
- data/lib/appium_lib_core/{ios/uiautomation/bridge.rb → common/base/remote_status.rb} +9 -8
- data/lib/appium_lib_core/common/base/rotable.rb +62 -0
- data/lib/appium_lib_core/common/base/screenshot.rb +10 -10
- data/lib/appium_lib_core/common/base/search_context.rb +98 -172
- data/lib/appium_lib_core/common/base.rb +1 -5
- data/lib/appium_lib_core/common/command.rb +244 -4
- data/lib/appium_lib_core/common/device/app_management.rb +2 -26
- data/lib/appium_lib_core/common/device/context.rb +1 -5
- data/lib/appium_lib_core/common/device/image_comparison.rb +27 -10
- data/lib/appium_lib_core/common/device/keyevent.rb +4 -4
- data/lib/appium_lib_core/common/device/{touch_actions.rb → orientation.rb} +6 -10
- data/lib/appium_lib_core/common/device/screen_record.rb +8 -2
- data/lib/appium_lib_core/common/error.rb +5 -5
- data/lib/appium_lib_core/common/log.rb +5 -4
- data/lib/appium_lib_core/common/wait.rb +38 -6
- data/lib/appium_lib_core/device.rb +3 -9
- data/lib/appium_lib_core/driver.rb +207 -164
- data/lib/appium_lib_core/{patch.rb → element.rb} +64 -26
- data/lib/appium_lib_core/ios/device/clipboard.rb +4 -2
- data/lib/appium_lib_core/ios/xcuitest/device.rb +2 -0
- 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/{ios.rb → mac2.rb} +2 -5
- data/lib/appium_lib_core/support/event_firing_bridge.rb +57 -0
- data/lib/appium_lib_core/version.rb +2 -2
- data/lib/appium_lib_core.rb +23 -10
- data/rbs_collection.lock.yaml +252 -0
- data/rbs_collection.yaml +15 -0
- data/sig/gems/selenium/abstract_event_listener.rbs +8 -0
- data/sig/gems/selenium/capabilities.rbs +8 -0
- data/sig/gems/selenium/common.rbs +10 -0
- data/sig/gems/selenium/default.rbs +10 -0
- data/sig/gems/selenium/driver.rbs +7 -0
- data/sig/gems/selenium/has_session_id.rbs +8 -0
- data/sig/gems/selenium/has_web_storage.rbs +8 -0
- data/sig/gems/selenium/uploads_files.rbs +8 -0
- data/sig/lib/appium_lib_core/common/base/capabilities.rbs +9 -0
- data/sig/lib/appium_lib_core/common/base/driver.rbs +167 -0
- data/sig/lib/appium_lib_core/common/base/driver_settings.rbs +15 -0
- data/sig/lib/appium_lib_core/common/base/has_location.rbs +13 -0
- data/sig/lib/appium_lib_core/common/base/has_network_connection.rbs +19 -0
- data/sig/lib/appium_lib_core/common/base/http_default.rbs +38 -0
- data/sig/lib/appium_lib_core/common/base/platform.rbs +7 -0
- data/sig/lib/appium_lib_core/common/base/remote_status.rbs +9 -0
- data/sig/lib/appium_lib_core/common/base/rotable.rbs +17 -0
- data/sig/lib/appium_lib_core/common/base/screenshot.rbs +19 -0
- data/sig/lib/appium_lib_core/common/device/battery_status.rbs +13 -0
- data/sig/lib/appium_lib_core/common/wait.rbs +31 -0
- data/sig/lib/appium_lib_core/device.rbs +21 -0
- data/sig/lib/appium_lib_core/driver.rbs +200 -0
- data/sig/lib/appium_lib_core/ios/xcuitest/device/battery.rbs +15 -0
- data/sig/lib/appium_lib_core/version.rbs +7 -0
- data/sig/lib/appium_lib_core.rbs +8 -0
- metadata +88 -111
- data/.github/ISSUE_TEMPLATE/issue-report.md +0 -29
- data/.github/contributing.md +0 -26
- data/.github/issue_template.md +0 -20
- data/.github/workflows/unittest.yml +0 -68
- data/.gitignore +0 -18
- data/.rubocop.yml +0 -58
- data/azure-pipelines.yml +0 -15
- data/ci-jobs/functional/android_setup.yml +0 -3
- data/ci-jobs/functional/ios_setup.yml +0 -7
- data/ci-jobs/functional/publish_test_result.yml +0 -18
- data/ci-jobs/functional/run_appium.yml +0 -25
- data/ci-jobs/functional/start-emulator.sh +0 -26
- data/ci-jobs/functional_test.yml +0 -298
- data/docs/mobile_command.md +0 -34
- 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/lib/appium_lib_core/common/device/value.rb +0 -52
- data/lib/appium_lib_core/common/touch_action/multi_touch.rb +0 -56
- data/lib/appium_lib_core/common/touch_action/touch_actions.rb +0 -203
- data/lib/appium_lib_core/ios/uiautomation/device.rb +0 -44
- data/lib/appium_lib_core/ios/uiautomation/patch.rb +0 -34
- data/release_notes.md +0 -816
- data/script/commands.rb +0 -200
data/CHANGELOG.md
CHANGED
|
@@ -5,68 +5,402 @@ 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
|
-
|
|
13
|
+
# [9.2.1] - 2024-08-01
|
|
14
|
+
|
|
15
|
+
### Bug fixes
|
|
16
|
+
- Fix to return symbols for `Core#device` and `Core#automation_name`
|
|
15
17
|
|
|
18
|
+
## [9.2.0] - 2024-07-21
|
|
16
19
|
### Enhancements
|
|
17
|
-
- Ruby
|
|
20
|
+
- Raise defined errors in this library instead of Ruby general errors in some places.
|
|
21
|
+
- Most of errors have already followed this method. This version has updated rest of them.
|
|
22
|
+
|
|
23
|
+
## [9.1.3., 9.1.2] - 2024-06-03
|
|
18
24
|
|
|
19
25
|
### Bug fixes
|
|
26
|
+
- Fix `server_url` usage in `core.start_driver` to respect the given value every time.
|
|
20
27
|
|
|
21
|
-
|
|
28
|
+
## [9.1.1] - 2024-05-19
|
|
22
29
|
|
|
23
|
-
|
|
30
|
+
### Enhancements
|
|
31
|
+
- Simplify internal code with Selenium 4.21.0 further.
|
|
24
32
|
|
|
25
|
-
|
|
33
|
+
|
|
34
|
+
## [9.1.0] - 2024-05-18
|
|
26
35
|
|
|
27
36
|
### Enhancements
|
|
37
|
+
- Require Selenium 4.21.0+
|
|
38
|
+
- Simplify internal code with Selenium 4.21.0. Now it requires selenium webdriver v4.21.0.
|
|
28
39
|
|
|
29
|
-
|
|
40
|
+
## [9.0.0] - 2024-05-14
|
|
30
41
|
|
|
31
42
|
### Deprecations
|
|
32
|
-
-
|
|
43
|
+
- Stop converting snake cases to camel case for symbols in capabilities
|
|
44
|
+
- Please define camel/snake cases in capabilities as-is for the WebDriver capabilities
|
|
45
|
+
- Stop implicit symbolizing capabilities
|
|
46
|
+
- Historically ruby_lib/ruby_lib_core symbolized capabilities keys from string internally.
|
|
47
|
+
- `Appium.symbolize_keys` to build symbolized capabilities if issues occurred by this change.
|
|
33
48
|
|
|
34
|
-
## [
|
|
49
|
+
## [8.0.2] - 2024-04-26
|
|
35
50
|
|
|
36
51
|
### Enhancements
|
|
52
|
+
- Bump thor for publishment module
|
|
53
|
+
|
|
54
|
+
## [8.0.1] - 2024-03-26
|
|
37
55
|
|
|
38
56
|
### Bug fixes
|
|
39
|
-
-
|
|
57
|
+
- Do not ignore an empty string/nil values as caps
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
## [8.0.0] - 2024-03-08
|
|
40
61
|
|
|
41
62
|
### Deprecations
|
|
63
|
+
- Removed deprecated methods
|
|
64
|
+
- `launch_app`, `close_app` and `reset`
|
|
65
|
+
- Please use `activate_app`, `terminate_app`, or launch/activate/terminate commands by `mobile:` command
|
|
66
|
+
- `TouchAction`, `MultiTouch`
|
|
67
|
+
- Please refer to W3C WebDriver actions
|
|
68
|
+
- https://www.rubydoc.info/gems/appium_lib_core/Appium/Core/Base/Bridge#action-instance_method
|
|
69
|
+
- `immediate_value` and `replace_value`
|
|
70
|
+
- `end_coverage`
|
|
71
|
+
- `sessions` and `session_capabilities` since they are not W3C WebDriver spec and already removed from the dependent selenium clients.
|
|
72
|
+
- To get events info, please use `driver.logs.events` instead
|
|
73
|
+
- `switch_to_default_context`
|
|
74
|
+
- Please set proper context instead
|
|
42
75
|
|
|
43
|
-
## [
|
|
76
|
+
## [7.5.0] - 2024-02-21
|
|
77
|
+
- Remove upper limitation in `selenium-webdriver`
|
|
78
|
+
- Users can control the version in their Gemfile
|
|
79
|
+
- ruby_lib_core will fix when the future release requires changes
|
|
80
|
+
|
|
81
|
+
## [7.4.0] - 2024-01-23
|
|
82
|
+
|
|
83
|
+
### Enhancement
|
|
84
|
+
- Bump `selenium-webdriver` max
|
|
85
|
+
|
|
86
|
+
### Deprecatioons
|
|
87
|
+
- Removed deprecated `core#platform_version` and `core#write_session_id`
|
|
88
|
+
- Please refer to the capabilities' value and `driver.session_id`
|
|
44
89
|
|
|
90
|
+
## [7.3.2] - 2023-11-08
|
|
91
|
+
|
|
92
|
+
### Bug fixes
|
|
93
|
+
- Fix default value fo set context
|
|
94
|
+
|
|
95
|
+
## [7.3.1] - 2023-11-04
|
|
45
96
|
### Enhancements
|
|
46
|
-
-
|
|
47
|
-
|
|
97
|
+
- Bump `selenium-webdriver` max
|
|
98
|
+
|
|
99
|
+
## [7.3.0] - 2023-10-17
|
|
100
|
+
|
|
101
|
+
### Deprecations
|
|
102
|
+
- Add deprecation marks that will be removed from Appium or this library to move to extension commands such as `mobile:`
|
|
103
|
+
- https://github.com/appium/ruby_lib_core/pull/504
|
|
104
|
+
|
|
105
|
+
## [7.2.0] - 2023-10-13
|
|
106
|
+
|
|
107
|
+
### Enhancements
|
|
108
|
+
- Append `selenium-webdriver` `4.12` support
|
|
109
|
+
|
|
110
|
+
## [7.1.1] - 2023-10-01
|
|
111
|
+
|
|
112
|
+
### Deprecations
|
|
113
|
+
|
|
114
|
+
- Add deprecation marks in `immediate_value` and `replace_value`
|
|
115
|
+
|
|
116
|
+
## [7.1.0] - 2023-08-15
|
|
117
|
+
|
|
118
|
+
### Enhancements
|
|
119
|
+
- Append `selenium-webdriver` `4.11` support
|
|
120
|
+
|
|
121
|
+
## [7.0.0] - 2023-06-17
|
|
122
|
+
|
|
123
|
+
### Deprecations
|
|
124
|
+
|
|
125
|
+
- Drop Ruby 2.7 support
|
|
126
|
+
|
|
127
|
+
## [6.5.0] - 2023-06-11
|
|
128
|
+
|
|
129
|
+
### Enhancements
|
|
130
|
+
- Append `selenium-webdriver` `4.10` support
|
|
131
|
+
|
|
132
|
+
## [6.4.2] - 2023-06-07
|
|
133
|
+
|
|
134
|
+
### Enhancements
|
|
135
|
+
- Simplify internal http client implementation a bit
|
|
136
|
+
|
|
137
|
+
## [6.4.1] - 2023-05-13
|
|
48
138
|
|
|
49
139
|
### Bug fixes
|
|
140
|
+
- Fixed `driver.execute_cdp` command error in a chrome session
|
|
141
|
+
|
|
142
|
+
## [6.4.0] - 2023-04-30
|
|
143
|
+
|
|
144
|
+
### Enhancements
|
|
145
|
+
- Append `selenium-webdriver` `4.9` support
|
|
146
|
+
|
|
147
|
+
## [6.3.0] - 2023-03-14
|
|
148
|
+
|
|
149
|
+
### Enhancements
|
|
150
|
+
- Support custom listener
|
|
151
|
+
- e.g. A listener named `CustomListener` which inherits `::Selenium::WebDriver::Support::AbstractEventListener` can set as `appium_lib: { listener: CustomListener.new}` capability
|
|
152
|
+
|
|
153
|
+
## [6.2.1] - 2023-03-09
|
|
154
|
+
|
|
155
|
+
### Enhancements
|
|
156
|
+
- Add `uia_device_orientation_landscaperight` and `uia_device_orientation_portrait_upsidedown` symbols in the `drivede.rotation=`
|
|
157
|
+
- Add `drivede.orientation=` as a syntax sugar of `drivede.rotation=`
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
## [6.2.0] - 2023-01-26
|
|
161
|
+
|
|
162
|
+
### Enhancements
|
|
163
|
+
|
|
164
|
+
- Append `selenium-webdriver` `4.8` support
|
|
165
|
+
- Add `::Appium::Location` since `::Selenium::WebDriver::Location` no longer exists
|
|
50
166
|
|
|
51
167
|
### Deprecations
|
|
52
168
|
|
|
53
|
-
|
|
169
|
+
- `::Selenium::WebDriver::Location` is deprecated in favor of `::Appium::Location` in Appium Ruby binding
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
## [6.1.0] - 2023-01-18
|
|
173
|
+
|
|
174
|
+
### Bug fixes
|
|
175
|
+
- `Element#immediate_value` sends `text` as the request body
|
|
176
|
+
|
|
177
|
+
## [6.0.0] - 2022-12-25
|
|
178
|
+
- Remove iOS/UiAutomation classes
|
|
179
|
+
- The version may work for iOS 8. XCUITest driver will be the default behavior for iOS.
|
|
180
|
+
|
|
181
|
+
## [5.8.0] - 2022-12-11
|
|
54
182
|
|
|
55
183
|
### Enhancements
|
|
184
|
+
- Add `::Appium::Core::Driver#attach_to` to generate a driver instance which has the given session id.
|
|
185
|
+
- The primary usage is for debugging to attach to an existing session.
|
|
186
|
+
|
|
187
|
+
## [5.7.0] - 2022-12-02
|
|
188
|
+
|
|
189
|
+
### Enhancements
|
|
190
|
+
- Allow selenium webdriver version 4.7 [#423](https://github.com/appium/ruby_lib_core/pull/423)
|
|
191
|
+
|
|
192
|
+
## [5.6.0] - 2022-11-08
|
|
193
|
+
|
|
194
|
+
### Enhancements
|
|
195
|
+
- Append `selenium-webdriver` `4.6` support
|
|
196
|
+
|
|
197
|
+
## [5.5.2] - 2022-10-11
|
|
56
198
|
|
|
57
199
|
### Bug fixes
|
|
58
|
-
- Fix
|
|
200
|
+
- Fix wrong deprecation message
|
|
201
|
+
|
|
202
|
+
## [5.5.1] - 2022-10-10
|
|
203
|
+
|
|
204
|
+
### Bug fixes
|
|
205
|
+
- Keep converting String to Symbol for `capabilities`, `caps` and `appium_lib` for the backward compatibility
|
|
206
|
+
- Wrong `automationName` and `platformName` detection in this library before starting a session
|
|
59
207
|
|
|
60
208
|
### Deprecations
|
|
209
|
+
- Converting `capabilities`, `caps` and `appium_lib` from String to Symbol
|
|
210
|
+
- They are expected to be Symbol. Nothing affects existing users who already give the above keys as Symbol for `Appium::Core.for`.
|
|
61
211
|
|
|
62
|
-
## [
|
|
212
|
+
## [5.5.0] - 2022-10-09
|
|
213
|
+
|
|
214
|
+
### Bug fixes
|
|
215
|
+
- Removed forcefully converting keys of capabilities into symbol, which caused unexpected capabilities format issue [ruby_lib/945](https://github.com/appium/ruby_lib/issues/945)
|
|
216
|
+
|
|
217
|
+
## [5.4.0] - 2022-10-01
|
|
63
218
|
|
|
64
219
|
### Enhancements
|
|
65
|
-
-
|
|
220
|
+
- Append `selnium-webdriver` `4.5` support
|
|
221
|
+
|
|
222
|
+
## [5.3.0] - 2022-08-10
|
|
223
|
+
|
|
224
|
+
### Enhancements
|
|
225
|
+
|
|
226
|
+
- Allow selenium webdriver version 4.4 [#404](https://github.com/appium/ruby_lib_core/pull/404)
|
|
227
|
+
|
|
228
|
+
## [5.2.2] - 2022-06-26
|
|
229
|
+
|
|
230
|
+
### Enhancements
|
|
231
|
+
- Relax the selenium webdriver version restriction of `4.2.0`
|
|
232
|
+
|
|
233
|
+
### Bug fixes
|
|
234
|
+
- Remove undefined module in selenium webdriver version `4.3.0`
|
|
235
|
+
|
|
236
|
+
## [5.2.1] - 2022-06-24
|
|
237
|
+
|
|
238
|
+
### Bug fixes
|
|
239
|
+
- Restrict the selenium webdriver version to `4.2.0`
|
|
240
|
+
|
|
241
|
+
## [5.2.0] - 2022-06-19
|
|
242
|
+
|
|
243
|
+
### Enhancements
|
|
244
|
+
|
|
245
|
+
- Update base Selenium Ruby client to `4.2+`
|
|
246
|
+
- Please call `key_action` or set `[::Selenium::WebDriver::Interactions.key('keyboard')]` as the deviecs parameter to build `driver.send_keys().perform` W3C action.
|
|
247
|
+
- `driver.key_action.send_keys('xxx').perform` instead of `driver.action.send_keys('xxx').perform`, or `driver.action(devices: [::Selenium::WebDriver::Interactions.key('keyboard')]).send_keys('xxx').perform`.
|
|
248
|
+
- [This PR change](https://github.com/appium/ruby_lib_core/pull/381/files) will help to update your some actions.
|
|
249
|
+
|
|
250
|
+
## [5.1.2] - 2022-06-02
|
|
251
|
+
|
|
252
|
+
### Enhancements
|
|
253
|
+
|
|
254
|
+
- Limit selenium webdriver version less than `4.2`
|
|
255
|
+
|
|
256
|
+
## [5.1.1] - 2022-04-18
|
|
257
|
+
|
|
258
|
+
### Enhancements
|
|
259
|
+
|
|
260
|
+
- Remove unneccessry files from gem package to reduce the size.
|
|
261
|
+
|
|
262
|
+
## [5.1.0] - 2021-12-25
|
|
263
|
+
|
|
264
|
+
### Enhancements
|
|
265
|
+
- Make default pointerType `touch` for the pointer in W3C actions instead of `mouse` for Appium
|
|
266
|
+
- This change should not affect W3C actions
|
|
267
|
+
|
|
268
|
+
## [5.0.3] - 2021-12-13
|
|
269
|
+
|
|
270
|
+
### Enhancements
|
|
271
|
+
- Can add more arguments in `install_app`
|
|
272
|
+
- e.g. Add `timeoutMs` for XCUITest driver as `@driver.install_app("/path/to/test.ipa", timeoutMs: 20000)`
|
|
273
|
+
|
|
274
|
+
### Bug fixes
|
|
275
|
+
- (internal) Allow to access to `bridge` attribute in `driver` instance for appium_flutter_finder
|
|
276
|
+
|
|
277
|
+
## [5.0.2] - 2021-12-01
|
|
66
278
|
|
|
67
279
|
### Bug fixes
|
|
280
|
+
- (internal) Fix firstMatch format in a new session creation
|
|
281
|
+
|
|
282
|
+
## [5.0.1] - 2021-11-23
|
|
283
|
+
|
|
284
|
+
### Enhancements
|
|
285
|
+
- Relaxed version restriction of selenium-webdriver
|
|
286
|
+
|
|
287
|
+
## [5.0.0] - 2021-11-05
|
|
288
|
+
|
|
289
|
+
### Enhancements
|
|
290
|
+
|
|
291
|
+
- Update base selenium webdriver version to `v4`
|
|
292
|
+
- Base Selenium Ruby binding is now v4
|
|
293
|
+
- Support only W3C WebDriver spec (and a few Appium specific commands)
|
|
294
|
+
- Support Ruby 2.6+
|
|
295
|
+
- Add `driver#wait`, `driver#wait_until`, `driver#wait_true`, `driver#wait_until_true` syntaxes
|
|
296
|
+
- Can give `driver` instance as its block variable
|
|
297
|
+
- `element.id` returns the element id instead of `element.ref`.
|
|
298
|
+
- `element.ref` now returns an array.
|
|
299
|
+
- Removed `desired_capabilities` as capabilities for `Appium::Core#for`. Please use `capabilities` key name instead.
|
|
300
|
+
- e.g. `Appium::Core.for capabilities: {...}` instead of `Appium::Core.for desired_capabilities: {...}`
|
|
301
|
+
- Removed methods that had _Deprecated_ mark
|
|
302
|
+
- Removed `driver#screenshot`. Please use `driver#save_screenshot` instead
|
|
303
|
+
- Removed `driver#send_keys` to send keys to an active element. Please use `driver.action.send_keys('happy testing').perform` instead
|
|
304
|
+
- Removed `forceMjsonwp` to send only MJSONWP capabilities since Selenium cleint v4 no longer supports MJSONWP
|
|
305
|
+
- No longer set default `timeouts` as `0`
|
|
306
|
+
- ruby_lib_core calls `/timeouts` endpoint only when `appium_lib: { wait: 5 }` is provided explicitly
|
|
307
|
+
- Raises `::Appium::Core::Error::ArgumentError` instead of `ArgumentError` for this library specific argument errors
|
|
308
|
+
- Removed Selendroid related methods
|
|
68
309
|
|
|
69
310
|
### Deprecations
|
|
311
|
+
- `Appium::Core::TouchAction` and `Appium::Core::MultiTouch` are deprecated
|
|
312
|
+
- Please use W3C actions instead http://appium.io/docs/en/commands/interactions/actions/
|
|
313
|
+
- More working examples:
|
|
314
|
+
- [test/functional/android/webdriver/w3c_actions_test.rb](test/functional/android/webdriver/w3c_actions_test.rb)
|
|
315
|
+
- [test/functional/ios/webdriver/w3c_actions_test.rb](test/functional/ios/webdriver/w3c_actions_test.rb)
|
|
316
|
+
- [test/functional/common_w3c_actions.rb](test/functional/common_w3c_actions.rb)
|
|
317
|
+
- https://www.selenium.dev/documentation/support_packages/mouse_and_keyboard_actions_in_detail/
|
|
318
|
+
- https://www.youtube.com/watch?v=oAJ7jwMNFVU
|
|
319
|
+
- https://appiumpro.com/editions/30-ios-specific-touch-action-methods
|
|
320
|
+
- https://appiumpro.com/editions/29-automating-complex-gestures-with-the-w3c-actions-api
|
|
321
|
+
- `launch_app`, `close_app` and `reset`. Please read [issues#15807](https://github.com/appium/appium/issues/15807) for more details.
|
|
322
|
+
- `activate_app` or a new session request can be alternatives of `launch_app`
|
|
323
|
+
- `terminate_app` or close the session request can be alternatives of `close_app`
|
|
324
|
+
- Close current session and creating a new session, or `terminate_app` and `launch_app` can be alternatives of `reset`
|
|
325
|
+
|
|
326
|
+
## [4.7.1] - 2021-09-26
|
|
327
|
+
|
|
328
|
+
### Enhancements
|
|
329
|
+
- Allow to override an existing method by `Appium::Core::Base::Driver#add_command` since Appium drivers/plugins allow to override them
|
|
330
|
+
|
|
331
|
+
## [4.7.0] - 2021-07-17
|
|
332
|
+
|
|
333
|
+
### Enhancements
|
|
334
|
+
- Add `satellites` option in `Appium::Core::Base::Driver#set_location`
|
|
335
|
+
|
|
336
|
+
## [4.6.0] - 2021-06-03
|
|
337
|
+
|
|
338
|
+
### Enhancements
|
|
339
|
+
- Add `Appium::Core::Base::Driver#add_command` to allow you to add your own command
|
|
340
|
+
|
|
341
|
+
## [4.5.0] - 2021-03-14
|
|
342
|
+
|
|
343
|
+
### Enhancements
|
|
344
|
+
- Add `speed` argument for `Appium::Core::Base::Driver#set_location` since Appium 1.21.0
|
|
345
|
+
- Add `multiple` and `match_neighbour_threshold` arguments for `Appium::Core::Base::Driver#find_image_occurrence`
|
|
346
|
+
|
|
347
|
+
## [4.4.1(4.4.0)] - 2021-02-15(2021-02-13)
|
|
348
|
+
|
|
349
|
+
### Enhancements
|
|
350
|
+
- Returns `{}` any errors in `Core#appium_server_version` to prevent errors in some cases
|
|
351
|
+
|
|
352
|
+
## [4.3.1(4.3.0)] - 2021-02-07(2021-02-05)
|
|
353
|
+
|
|
354
|
+
### Enhancements
|
|
355
|
+
- Add `start_recording_screen` for Mac2 driver
|
|
356
|
+
|
|
357
|
+
## [4.2.1] - 2021-01-10
|
|
358
|
+
|
|
359
|
+
### Enhancements
|
|
360
|
+
- Refactor routable
|
|
361
|
+
|
|
362
|
+
## [4.2.0] - 2021-01-02
|
|
363
|
+
|
|
364
|
+
### Enhancements
|
|
365
|
+
- Add `Element#screenshot`, `Element#screenshot_as` and `Element#save_screenshot` in Element module
|
|
366
|
+
- `Element#screenshot_as` and `Element#save_screenshot` are same as `Driver#element_screenshot_as` and `Driver#save_element_screenshot`
|
|
367
|
+
- `Element#screenshot` is same as `Element#screenshot_as(:base64)`
|
|
368
|
+
|
|
369
|
+
## [4.1.1] - 2020-12-25
|
|
370
|
+
|
|
371
|
+
### Enhancements
|
|
372
|
+
- Ruby 3.0 support
|
|
373
|
+
- Arguments in `@driver.execute_cdp`
|
|
374
|
+
- It should be like `@driver.execute_cdp 'Page.captureScreenshot', quality: 50, format: 'jpeg'` as keyword arguments
|
|
375
|
+
instead of `@driver.execute_cdp 'Page.captureScreenshot', { quality: 50, format: 'jpeg' }` in Ruby 3
|
|
376
|
+
|
|
377
|
+
## [4.0.0] - 2020-12-19
|
|
378
|
+
|
|
379
|
+
Supported Ruby version is 2.4+
|
|
380
|
+
|
|
381
|
+
### Deprecations
|
|
382
|
+
- No longer work with `forceMjsonwp` capability to force the session MJSONWP
|
|
383
|
+
|
|
384
|
+
## [3.11.1] - 2020-11-20
|
|
385
|
+
|
|
386
|
+
### Bug fixes
|
|
387
|
+
- Fix `install_app` to be able to set no args for options
|
|
388
|
+
|
|
389
|
+
## [3.11.0] - 2020-08-01
|
|
390
|
+
|
|
391
|
+
### Enhancements
|
|
392
|
+
- Security update [GHSA-2v5c-755p-p4gv](https://github.com/advisories/GHSA-2v5c-755p-p4gv)
|
|
393
|
+
- Affects only _::Appium::Core::WebSocket_
|
|
394
|
+
|
|
395
|
+
## [3.10.1] - 2020-06-29
|
|
396
|
+
|
|
397
|
+
### Bug fixes
|
|
398
|
+
- Fix duplication warning of `execute_cdp`
|
|
399
|
+
|
|
400
|
+
## [3.10.0] - 2020-06-09
|
|
401
|
+
|
|
402
|
+
### Enhancements
|
|
403
|
+
- Remove deprecated `Selenium::WebDriver::Error::TimeOutError`
|
|
70
404
|
|
|
71
405
|
## [3.9.0] - 2020-05-31
|
|
72
406
|
|
|
@@ -86,10 +420,6 @@ Supported Ruby version is 2.4+
|
|
|
86
420
|
@driver = Appium::Core.for(opts).start_driver
|
|
87
421
|
```
|
|
88
422
|
|
|
89
|
-
### Bug fixes
|
|
90
|
-
|
|
91
|
-
### Deprecations
|
|
92
|
-
|
|
93
423
|
## [3.8.0] - 2020-05-17
|
|
94
424
|
|
|
95
425
|
### Enhancements
|
|
@@ -99,8 +429,6 @@ Supported Ruby version is 2.4+
|
|
|
99
429
|
### Bug fixes
|
|
100
430
|
- Fix `x-idempotency-key` header to add it only in new session request (https://github.com/appium/ruby_lib_core/issues/262)
|
|
101
431
|
|
|
102
|
-
### Deprecations
|
|
103
|
-
|
|
104
432
|
## [3.7.0] - 2020-04-18
|
|
105
433
|
|
|
106
434
|
### Enhancements
|
|
@@ -109,76 +437,44 @@ Supported Ruby version is 2.4+
|
|
|
109
437
|
- Add chrome devtools endpoint which is available chrome module in Selenium Ruby binding
|
|
110
438
|
- https://github.com/appium/appium-base-driver/pull/405
|
|
111
439
|
|
|
112
|
-
### Bug fixes
|
|
113
|
-
|
|
114
|
-
### Deprecations
|
|
115
|
-
|
|
116
440
|
## [3.6.1, 3.6.0] - 2020-03-15
|
|
117
441
|
|
|
118
442
|
### Enhancements
|
|
119
443
|
- Add screen record feature for Windows driver (https://github.com/appium/appium-windows-driver/pull/66)
|
|
120
444
|
- `#start_recording_screen`, `#stop_recording_screen`
|
|
121
445
|
|
|
122
|
-
### Bug fixes
|
|
123
|
-
|
|
124
|
-
### Deprecations
|
|
125
|
-
|
|
126
446
|
## [3.5.0] - 2020-01-11
|
|
127
447
|
|
|
128
448
|
### Enhancements
|
|
129
449
|
- Add `:viewmatcher` selector like `@driver.find_elements :view_matcher, { name: 'withText', args: %w(Accessibility), class: 'androidx.test.espresso.matcher.ViewMatchers' }`
|
|
130
450
|
|
|
131
|
-
### Bug fixes
|
|
132
|
-
|
|
133
|
-
### Deprecations
|
|
134
|
-
|
|
135
451
|
## [3.4.2] - 2019-12-29
|
|
136
452
|
|
|
137
453
|
### Enhancements
|
|
138
454
|
- Add `attr_reader :bridge` for flutter driver not to use `send`
|
|
139
455
|
- https://github.com/truongsinh/appium-flutter-driver/pull/35
|
|
140
456
|
|
|
141
|
-
### Bug fixes
|
|
142
|
-
|
|
143
|
-
### Deprecations
|
|
144
|
-
|
|
145
457
|
## [3.4.0, 3.4.1] - 2019-12-26, 2019-12-27
|
|
146
458
|
|
|
147
459
|
### Enhancements
|
|
148
460
|
- Fix Ruby 2.7 warnings
|
|
149
461
|
|
|
150
|
-
### Bug fixes
|
|
151
|
-
|
|
152
|
-
### Deprecations
|
|
153
|
-
|
|
154
462
|
## [3.3.0] - 2019-11-08
|
|
155
463
|
|
|
156
464
|
### Enhancements
|
|
157
465
|
- Add `Logs#event` to post a custom log by `@driver.logs.event vendor: 'appium', event: 'funEvent'`
|
|
158
466
|
- Add `Logs#events` to get events by `@driver.logs.events`. It is equal to `@driver.session_capabilities['events']`
|
|
159
467
|
|
|
160
|
-
### Bug fixes
|
|
161
|
-
|
|
162
|
-
### Deprecations
|
|
163
|
-
|
|
164
468
|
## [3.2.3] - 2019-09-30
|
|
165
469
|
|
|
166
470
|
### Enhancements
|
|
167
471
|
- Add `system_bars` as an alias to `get_system_bars`
|
|
168
472
|
|
|
169
|
-
### Bug fixes
|
|
170
|
-
|
|
171
|
-
### Deprecations
|
|
172
|
-
|
|
173
473
|
## [3.2.2] - 2019-08-04
|
|
174
474
|
|
|
175
|
-
### Enhancements
|
|
176
|
-
|
|
177
475
|
### Bug fixes
|
|
178
476
|
- Fixed parameters of `remove_app`
|
|
179
477
|
|
|
180
|
-
### Deprecations
|
|
181
|
-
|
|
182
478
|
## [3.2.1] - 2019-07-19
|
|
183
479
|
|
|
184
480
|
### Enhancements
|
|
@@ -200,39 +496,23 @@ Supported Ruby version is 2.4+
|
|
|
200
496
|
- Add `execute_driver` to run a batch script
|
|
201
497
|
- It requires Appium version which has `execute_driver` support
|
|
202
498
|
|
|
203
|
-
### Bug fixes
|
|
204
|
-
|
|
205
|
-
### Deprecations
|
|
206
|
-
|
|
207
499
|
## [3.1.3] - 2019-06-18
|
|
208
500
|
|
|
209
501
|
### Enhancements
|
|
210
502
|
- Add arguments for `start_activity`
|
|
211
503
|
- `intentAction`, `intentCategory`, `intentFlags`, `dontStopAppOnReset`
|
|
212
504
|
|
|
213
|
-
### Bug fixes
|
|
214
|
-
|
|
215
|
-
### Deprecations
|
|
216
|
-
|
|
217
505
|
## [3.1.2] - 2019-05-10
|
|
218
506
|
|
|
219
507
|
### Enhancements
|
|
220
508
|
- Add `sessions` command to get all available sessions on the Appium server
|
|
221
509
|
- [internal] Tweak error messages in emulator module
|
|
222
510
|
|
|
223
|
-
### Bug fixes
|
|
224
|
-
|
|
225
|
-
### Deprecations
|
|
226
|
-
|
|
227
511
|
## [3.1.1] - 2019-04-26
|
|
228
512
|
|
|
229
513
|
### Enhancements
|
|
230
514
|
- [internal] Catch `Selenium::WebDriver::Error::TimeoutError` which will be used instead of `Selenium::WebDriver::Error::TimeOutError`
|
|
231
515
|
|
|
232
|
-
### Bug fixes
|
|
233
|
-
|
|
234
|
-
### Deprecations
|
|
235
|
-
|
|
236
516
|
## [3.1.0] - 2019-03-31
|
|
237
517
|
|
|
238
518
|
### Enhancements
|
|
@@ -240,28 +520,16 @@ Supported Ruby version is 2.4+
|
|
|
240
520
|
- `platformName: :tvos, automationName: :xcuitest` can work for iOS tvOS
|
|
241
521
|
- It requires Appium 1.13
|
|
242
522
|
|
|
243
|
-
### Bug fixes
|
|
244
|
-
|
|
245
|
-
### Deprecations
|
|
246
|
-
|
|
247
523
|
## [3.0.4] - 2019-03-24
|
|
248
524
|
|
|
249
525
|
### Enhancements
|
|
250
526
|
- Add `pixelFormat` argument in screen record for iOS
|
|
251
527
|
|
|
252
|
-
### Bug fixes
|
|
253
|
-
|
|
254
|
-
### Deprecations
|
|
255
|
-
|
|
256
528
|
## [3.0.3] - 2019-03-11
|
|
257
529
|
|
|
258
530
|
### Enhancements
|
|
259
531
|
- [internal] Bump Rubocop target Ruby version to Ruby 2.3
|
|
260
532
|
|
|
261
|
-
### Bug fixes
|
|
262
|
-
|
|
263
|
-
### Deprecations
|
|
264
|
-
|
|
265
533
|
## [3.0.2] - 2019-03-07
|
|
266
534
|
|
|
267
535
|
### Enhancements
|
|
@@ -271,17 +539,11 @@ Supported Ruby version is 2.4+
|
|
|
271
539
|
- [internal] Fixed typo in `Emulator#gsm_signal` [#196](https://github.com/appium/ruby_lib_core/pull/196)
|
|
272
540
|
- Thanks [khanhdodang](https://github.com/khanhdodang)
|
|
273
541
|
|
|
274
|
-
### Deprecations
|
|
275
|
-
|
|
276
542
|
## [3.0.1] - 2019-02-25
|
|
277
543
|
|
|
278
544
|
### Enhancements
|
|
279
545
|
- Add `:data_matcher` find_element/s attribute [appium-espresso-driver#386](https://github.com/appium/appium-espresso-driver/pull/386)
|
|
280
546
|
|
|
281
|
-
### Bug fixes
|
|
282
|
-
|
|
283
|
-
### Deprecations
|
|
284
|
-
|
|
285
547
|
## [3.0.0] - 2019-02-06
|
|
286
548
|
|
|
287
549
|
This release has a breaking change about an implicit wait.
|
|
@@ -307,8 +569,6 @@ The behaviour follows the default spec in WebDriver.
|
|
|
307
569
|
### Bug fixes
|
|
308
570
|
- Fix potential override of `AppManagement#background_app` [#188](https://github.com/appium/ruby_lib_core/pull/188)
|
|
309
571
|
|
|
310
|
-
### Deprecations
|
|
311
|
-
|
|
312
572
|
## [2.3.4] - 2019-01-31
|
|
313
573
|
### Enhancements
|
|
314
574
|
- Add 3D touch option for `TouchAction#press` [appium/WebDriverAgent#79](https://github.com/appium/WebDriverAgent/pull/79)
|
|
@@ -317,16 +577,10 @@ The behaviour follows the default spec in WebDriver.
|
|
|
317
577
|
### Bug fixes
|
|
318
578
|
- Stop sending blank value in `start_activity`
|
|
319
579
|
|
|
320
|
-
### Deprecations
|
|
321
|
-
|
|
322
580
|
## [2.3.3] - 2019-01-22
|
|
323
|
-
### Enhancements
|
|
324
|
-
|
|
325
581
|
### Bug fixes
|
|
326
582
|
- Add `*args, &block` in method missing in `Selenium::WebDriver::Element` [#184](https://github.com/appium/ruby_lib_core/pull/184)
|
|
327
583
|
|
|
328
|
-
### Deprecations
|
|
329
|
-
|
|
330
584
|
## [2.3.2] - 2019-01-20
|
|
331
585
|
### Enhancements
|
|
332
586
|
- Add alias for some method calls
|
|
@@ -337,18 +591,12 @@ The behaviour follows the default spec in WebDriver.
|
|
|
337
591
|
### Bug fixes
|
|
338
592
|
- `ServerError` inherits `CoreError` in order to handle it as an exception
|
|
339
593
|
|
|
340
|
-
### Deprecations
|
|
341
|
-
|
|
342
594
|
## [2.3.1] - 2019-01-13
|
|
343
595
|
### Enhancements
|
|
344
596
|
- `set_network_connection` accepts keys as same as `network_connection_type` in addition to numbers
|
|
345
597
|
- `{ :airplane_mode: 1, wifi: 2, data: 4, all: 6, none: 0 }`
|
|
346
598
|
- Read [documentation](https://www.rubydoc.info/github/appium/ruby_lib_core/master/Appium/Core/Android/Device#set_network_connection-instance_method) more
|
|
347
599
|
|
|
348
|
-
### Bug fixes
|
|
349
|
-
|
|
350
|
-
### Deprecations
|
|
351
|
-
|
|
352
600
|
## [2.3.0] - 2019-01-07
|
|
353
601
|
### Enhancements
|
|
354
602
|
- Use `Base64.strict_encode64` when this client sends `Base64` encoded data to server
|
|
@@ -356,33 +604,19 @@ The behaviour follows the default spec in WebDriver.
|
|
|
356
604
|
- Continues to decode base 64 data following `decode64` to accept RFC 2045 format
|
|
357
605
|
- Add `query_app_state` as an alias of `app_state` to get application status
|
|
358
606
|
|
|
359
|
-
### Bug fixes
|
|
360
|
-
|
|
361
|
-
### Deprecations
|
|
362
|
-
|
|
363
607
|
## [2.2.2] - 2018-12-22
|
|
364
608
|
### Enhancements
|
|
365
609
|
- Append `appium` in header: `appium/ruby_lib_core/2.2.1 (selenium/3.141.0 (ruby macosx))`
|
|
366
610
|
|
|
367
|
-
### Bug fixes
|
|
368
|
-
|
|
369
|
-
### Deprecations
|
|
370
|
-
|
|
371
611
|
## [2.2.1] - 2018-12-08
|
|
372
|
-
### Enhancements
|
|
373
|
-
|
|
374
612
|
### Bug fixes
|
|
375
613
|
- Reduce warnings for method definitions
|
|
376
614
|
|
|
377
|
-
### Deprecations
|
|
378
|
-
|
|
379
615
|
## [2.2.0] - 2018-12-01
|
|
380
616
|
### Enhancements
|
|
381
617
|
- Add `::Appium::Core::Base.platform` to call `::Selenium::WebDriver::Platform`
|
|
382
618
|
- Can identify platform using `::Appium::Core::Base.platform.windows?` for example
|
|
383
619
|
|
|
384
|
-
### Bug fixes
|
|
385
|
-
|
|
386
620
|
### Deprecations
|
|
387
621
|
- `:offset_x` and `:offset_y` in `TouchAction#swipe` is deprecated in favor of `:end_x` and `:end_y`
|
|
388
622
|
|
|
@@ -401,10 +635,6 @@ The behaviour follows the default spec in WebDriver.
|
|
|
401
635
|
- Update `start_recording_screen` for iOS, Appium 1.10.0
|
|
402
636
|
- Add `:video_scale` and update `:video_type`
|
|
403
637
|
|
|
404
|
-
### Bug fixes
|
|
405
|
-
|
|
406
|
-
### Deprecations
|
|
407
|
-
|
|
408
638
|
## [2.1.0] - 2018-11-14
|
|
409
639
|
### Enhancements
|
|
410
640
|
- Support below style _1_, has _url_ parameter, in addition to style _2_
|
|
@@ -417,27 +647,15 @@ The behaviour follows the default spec in WebDriver.
|
|
|
417
647
|
```
|
|
418
648
|
- Add `:video_fps` param for screen recording in iOS(XCUITest) to sync with Appium 1.10.0
|
|
419
649
|
|
|
420
|
-
### Bug fixes
|
|
421
|
-
|
|
422
|
-
### Deprecations
|
|
423
|
-
|
|
424
650
|
## [2.0.6] - 2018-11-08
|
|
425
651
|
### Enhancements
|
|
426
652
|
- Allow selenium update following Pi versioning like 3.141.0
|
|
427
653
|
- [internal] Update dev libraries
|
|
428
654
|
|
|
429
|
-
### Bug fixes
|
|
430
|
-
|
|
431
|
-
### Deprecations
|
|
432
|
-
|
|
433
655
|
## [2.0.5] - 2018-10-30
|
|
434
656
|
### Enhancements
|
|
435
657
|
- [internal] No longer send `strategy: :tapOutside` as default value in Android
|
|
436
658
|
|
|
437
|
-
### Bug fixes
|
|
438
|
-
|
|
439
|
-
### Deprecations
|
|
440
|
-
|
|
441
659
|
## [2.0.4] - 2018-10-19
|
|
442
660
|
### Enhancements
|
|
443
661
|
- 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 +665,15 @@ The behaviour follows the default spec in WebDriver.
|
|
|
447
665
|
|
|
448
666
|
```
|
|
449
667
|
|
|
450
|
-
### Bug fixes
|
|
451
|
-
|
|
452
|
-
### Deprecations
|
|
453
|
-
|
|
454
668
|
## [2.0.3] - 2018-10-11
|
|
455
669
|
### Enhancements
|
|
456
670
|
- Set `'selenium-webdriver', '~> 3.14.1'`
|
|
457
671
|
|
|
458
|
-
### Bug fixes
|
|
459
|
-
|
|
460
|
-
### Deprecations
|
|
461
|
-
|
|
462
672
|
## [2.0.2] - 2018-10-02
|
|
463
673
|
### Enhancements
|
|
464
674
|
- Add finger print feature for Android emulators [#13](https://github.com/appium/ruby_lib_core/issues/13)
|
|
465
675
|
- Add `keyboard_shown?` and `context=` as aliases of `is_keyboard_shown` and `set_contex`
|
|
466
676
|
|
|
467
|
-
### Bug fixes
|
|
468
|
-
|
|
469
|
-
### Deprecations
|
|
470
|
-
|
|
471
677
|
## [2.0.1] - 2018-09-01
|
|
472
678
|
### Enhancements
|
|
473
679
|
- Add `Appium::Core::Base::Driver#perform_actions` to send multiple actions. See `test_multiple_actions` as an example.
|
|
@@ -475,8 +681,6 @@ The behaviour follows the default spec in WebDriver.
|
|
|
475
681
|
### Bug fixes
|
|
476
682
|
- Fix desired capability for W3C protocol under selenium grid environment [#137](https://github.com/appium/ruby_lib_core/issues/137)
|
|
477
683
|
|
|
478
|
-
### Deprecations
|
|
479
|
-
|
|
480
684
|
## [2.0.0] - 2018-08-25
|
|
481
685
|
|
|
482
686
|
This release has a breaking change for creating core. Thus, I've bumped the major version.
|
|
@@ -484,20 +688,14 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
484
688
|
### Enhancements
|
|
485
689
|
- use `autoload` to load Android/iOS modules
|
|
486
690
|
|
|
487
|
-
### Bug fixes
|
|
488
|
-
|
|
489
691
|
### Deprecations
|
|
490
692
|
- `@core = Appium::Core.for(self, opts)` is deprecated in favor of `@core = Appium::Core.for(opts)`
|
|
491
693
|
- Call `extend Appium::Core::Device` if you'd like to extend methods defined in `Appium::Core`
|
|
492
694
|
- Read [#816](https://github.com/appium/ruby_lib/pull/816) as an example
|
|
493
695
|
|
|
494
696
|
## [1.9.2] - 2018-08-23
|
|
495
|
-
### Enhancements
|
|
496
|
-
|
|
497
697
|
### Bug fixes
|
|
498
|
-
- fix
|
|
499
|
-
|
|
500
|
-
### Deprecations
|
|
698
|
+
- fix unexpected method missing against `:to_hash` in Element
|
|
501
699
|
|
|
502
700
|
## [1.9.1] - 2018-08-20
|
|
503
701
|
### Enhancements
|
|
@@ -507,8 +705,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
507
705
|
### Bug fixes
|
|
508
706
|
- [internal] Fix raising error in `set_implicit_wait_by_default` [#130](https://github.com/appium/ruby_lib_core/issues/130)
|
|
509
707
|
|
|
510
|
-
### Deprecations
|
|
511
|
-
|
|
512
708
|
## [1.9.0] - 2018-08-05
|
|
513
709
|
### Enhancements
|
|
514
710
|
- Update documentation about `start_recording_screen`
|
|
@@ -516,8 +712,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
516
712
|
- Support `find_element/s :image, partial_image` [#119](https://github.com/appium/ruby_lib_core/pull/119)
|
|
517
713
|
- Requires `selenium-webdriver 3.14+` because of W3C actions [#115](https://github.com/appium/ruby_lib_core/pull/115)
|
|
518
714
|
|
|
519
|
-
### Bug fixes
|
|
520
|
-
|
|
521
715
|
### Deprecations
|
|
522
716
|
- [Internal] Deprecate experimental `ImageElement` in favor of `Element`
|
|
523
717
|
|
|
@@ -527,10 +721,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
527
721
|
- 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
722
|
- Set `'~> 3.5', '< 3.14'`
|
|
529
723
|
|
|
530
|
-
### Bug fixes
|
|
531
|
-
|
|
532
|
-
### Deprecations
|
|
533
|
-
|
|
534
724
|
## [1.8.3] - 2018-07-20
|
|
535
725
|
### Enhancements
|
|
536
726
|
- Relax the logic of `:app` capability
|
|
@@ -538,11 +728,7 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
538
728
|
### Bug fixes
|
|
539
729
|
- Fix `within_context`
|
|
540
730
|
|
|
541
|
-
### Deprecations
|
|
542
|
-
|
|
543
731
|
## [1.8.2] - 2018-07-17
|
|
544
|
-
### Enhancements
|
|
545
|
-
|
|
546
732
|
### Bug fixes
|
|
547
733
|
- Available packages over HTTP [#106](https://github.com/appium/ruby_lib_core/issues/106)
|
|
548
734
|
|
|
@@ -550,23 +736,15 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
550
736
|
- Remove warning of camelCase capability for W3C format
|
|
551
737
|
|
|
552
738
|
## [1.8.1] - 2018-07-13
|
|
553
|
-
### Enhancements
|
|
554
|
-
|
|
555
739
|
### Bug fixes
|
|
556
740
|
- Fix including search context in `::Selenium::WebDriver::Elemenet`
|
|
557
741
|
- `include ::Appium::Core::Base::SearchContext` instead of `::Selenium::WebDriver::SearchContext`
|
|
558
742
|
|
|
559
|
-
### Deprecations
|
|
560
|
-
|
|
561
743
|
## [1.8.0] - 2018-07-07
|
|
562
744
|
### Enhancements
|
|
563
745
|
- Add Tizen case
|
|
564
746
|
- [Internal] reduce method definition by `add_endpoint_method`
|
|
565
747
|
|
|
566
|
-
### Bug fixes
|
|
567
|
-
|
|
568
|
-
### Deprecations
|
|
569
|
-
|
|
570
748
|
## [1.7.2] - 2018-06-23
|
|
571
749
|
### Enhancements
|
|
572
750
|
- Add `find_element_by_image` and `find_elements_by_image` to handle `ImageElement`
|
|
@@ -575,10 +753,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
575
753
|
- Experimental feature
|
|
576
754
|
- [Internal] Define screenshot methods in appium_lib_core instead of Selenium's one
|
|
577
755
|
|
|
578
|
-
### Bug fixes
|
|
579
|
-
|
|
580
|
-
### Deprecations
|
|
581
|
-
|
|
582
756
|
## [1.7.1] - 2018-06-15
|
|
583
757
|
### Enhancements
|
|
584
758
|
- Add a `format` argument for `device_time` [#94](https://github.com/appium/ruby_lib_core/pull/94)
|
|
@@ -586,8 +760,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
586
760
|
### Bug fixes
|
|
587
761
|
- Return empty array `[]` for find_elements
|
|
588
762
|
|
|
589
|
-
### Deprecations
|
|
590
|
-
|
|
591
763
|
## [1.7.0] - 2018-05-28
|
|
592
764
|
### Enhancements
|
|
593
765
|
- Has one **Breaking Change**
|
|
@@ -600,10 +772,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
600
772
|
- [Internal] Change directory and file structure
|
|
601
773
|
- [Internal] Set default content-type
|
|
602
774
|
|
|
603
|
-
### Bug fixes
|
|
604
|
-
|
|
605
|
-
### Deprecations
|
|
606
|
-
|
|
607
775
|
## [1.6.0] - 2018-05-08
|
|
608
776
|
### Enhancements
|
|
609
777
|
- **Breaking Change**
|
|
@@ -615,36 +783,22 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
615
783
|
- add `battery_info` to get battery information
|
|
616
784
|
- add `is_keyboard_shown` for iOS ( see also https://github.com/appium/appium-xcuitest-driver/pull/664/files )
|
|
617
785
|
|
|
618
|
-
### Bug fixes
|
|
619
|
-
|
|
620
|
-
### Deprecations
|
|
621
|
-
|
|
622
786
|
## [1.5.1] - 2018-04-25
|
|
623
|
-
### Enhancements
|
|
624
|
-
|
|
625
787
|
### Bug fixes
|
|
626
788
|
- Revert timeout logic in `1.4.1`
|
|
627
789
|
|
|
628
|
-
### Deprecations
|
|
629
|
-
|
|
630
790
|
## [1.5.0] - 2018-04-25
|
|
631
791
|
### Enhancements
|
|
632
792
|
- [internal] Remove hot fix for XCUITest action
|
|
633
793
|
|
|
634
|
-
### Bug fixes
|
|
635
|
-
|
|
636
794
|
### Deprecations
|
|
637
795
|
- Changed the name of arguments
|
|
638
796
|
- `swipe(start_x:, start_y:, end_x:, end_y:)` instead of `swipe(start_x:, start_y:, offset_x:, offset_y:)`
|
|
639
797
|
|
|
640
798
|
## [1.4.2] - 2018-04-22
|
|
641
|
-
### Enhancements
|
|
642
|
-
|
|
643
799
|
### Bug fixes
|
|
644
800
|
- Revert `delegate_from_appium_driver` for `ruby_lib` compatibility
|
|
645
801
|
|
|
646
|
-
### Deprecations
|
|
647
|
-
|
|
648
802
|
## [1.4.1] - 2018-04-22
|
|
649
803
|
### Enhancements
|
|
650
804
|
- add base image comparison
|
|
@@ -653,54 +807,30 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
653
807
|
- Raise `::Appium::Core::Wait::TimeoutError` instead of `::Selenium::WebDriver::Error::TimeOutError`
|
|
654
808
|
- [internal] Separate mjsonwp commands module and w3c commands module from one command module
|
|
655
809
|
|
|
656
|
-
### Bug fixes
|
|
657
|
-
|
|
658
|
-
### Deprecations
|
|
659
|
-
|
|
660
810
|
## [1.4.0] - 2018-04-15
|
|
661
811
|
### Enhancements
|
|
662
812
|
- Add a support for WebSocket client based on Faye::WebSocket::Client [#74](https://github.com/appium/ruby_lib_core/pull/74)
|
|
663
813
|
|
|
664
|
-
### Bug fixes
|
|
665
|
-
|
|
666
|
-
### Deprecations
|
|
667
|
-
|
|
668
814
|
## [1.3.8] - 2018-04-12
|
|
669
815
|
### Enhancements
|
|
670
816
|
- Make no-argument commands friendly for IDE
|
|
671
817
|
|
|
672
|
-
### Bug fixes
|
|
673
|
-
|
|
674
|
-
### Deprecations
|
|
675
|
-
|
|
676
818
|
## [1.3.7] - 2018-04-02
|
|
677
819
|
### Enhancements
|
|
678
820
|
- Only for `ruby_lib_core` internal process
|
|
679
821
|
- Remove `touch` action by default and following `selenium-webdriver` in W3C action.
|
|
680
822
|
- Since XCUITest and UA2 drivers force handling the pointer as `touch`.
|
|
681
823
|
|
|
682
|
-
### Bug fixes
|
|
683
|
-
|
|
684
|
-
### Deprecations
|
|
685
|
-
|
|
686
824
|
## [1.3.6] - 2018-04-01
|
|
687
825
|
### Enhancements
|
|
688
826
|
- Be able to change `kind` in W3C touch action.
|
|
689
827
|
- Read: https://github.com/appium/ruby_lib_core/blob/master/lib/appium_lib_core/common/base/bridge/w3c.rb#L29
|
|
690
828
|
|
|
691
|
-
### Bug fixes
|
|
692
|
-
|
|
693
|
-
### Deprecations
|
|
694
|
-
|
|
695
829
|
## [1.3.5] - 2018-03-30
|
|
696
830
|
### Enhancements
|
|
697
831
|
- Add a `bug_report` option in `start_recording_screen`, Android
|
|
698
832
|
- Add clipboard apis [#69](https://github.com/appium/ruby_lib_core/pull/69)
|
|
699
833
|
|
|
700
|
-
### Bug fixes
|
|
701
|
-
|
|
702
|
-
### Deprecations
|
|
703
|
-
|
|
704
834
|
## [1.3.4] - 2018-03-21
|
|
705
835
|
### Enhancements
|
|
706
836
|
- Add `save_viewport_screenshot` which get screenshot except for status bar.
|
|
@@ -710,16 +840,10 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
710
840
|
### Bug fixes
|
|
711
841
|
- 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
842
|
|
|
713
|
-
### Deprecations
|
|
714
|
-
|
|
715
843
|
## [1.3.3] - 2018-03-03
|
|
716
844
|
### Enhancements
|
|
717
845
|
- add `session_capabilities`: https://appium.io/docs/en/commands/session/get/
|
|
718
846
|
|
|
719
|
-
### Bug fixes
|
|
720
|
-
|
|
721
|
-
### Deprecations
|
|
722
|
-
|
|
723
847
|
## [1.3.2] - 2018-02-18
|
|
724
848
|
### Enhancements
|
|
725
849
|
- Add Android emulator commands
|
|
@@ -727,10 +851,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
727
851
|
- Add toggles
|
|
728
852
|
- `toggle_location_services`, `toggle_wifi`, `toggle_data`
|
|
729
853
|
|
|
730
|
-
### Bug fixes
|
|
731
|
-
|
|
732
|
-
### Deprecations
|
|
733
|
-
|
|
734
854
|
## [1.3.1] - 2018-02-14
|
|
735
855
|
### Enhancements
|
|
736
856
|
- add some app management commands [#58](https://github.com/appium/ruby_lib_core/pull/58)
|
|
@@ -752,10 +872,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
752
872
|
.perform
|
|
753
873
|
```
|
|
754
874
|
|
|
755
|
-
### Bug fixes
|
|
756
|
-
|
|
757
|
-
### Deprecations
|
|
758
|
-
|
|
759
875
|
## [1.3.0] - 2018-01-28
|
|
760
876
|
### Enhancements
|
|
761
877
|
- `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 +879,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
763
879
|
- `start_recording_screen`
|
|
764
880
|
- The argument, `file_path`, was removed.
|
|
765
881
|
|
|
766
|
-
### Bug fixes
|
|
767
|
-
|
|
768
|
-
### Deprecations
|
|
769
|
-
|
|
770
882
|
## [1.2.7] - 2018-01-25
|
|
771
883
|
### Enhancements
|
|
772
884
|
- Print warning messages to use camelCase if capability key names are snake_case
|
|
@@ -775,8 +887,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
775
887
|
### Bug fixes
|
|
776
888
|
- Make `@driver.automation_name` downcase [#50](https://github.com/appium/ruby_lib_core/issues/50)
|
|
777
889
|
|
|
778
|
-
### Deprecations
|
|
779
|
-
|
|
780
890
|
## [1.2.6] - 2018-01-21
|
|
781
891
|
### Enhancements
|
|
782
892
|
- Add `window_rect`
|
|
@@ -784,17 +894,11 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
784
894
|
### Bug fixes
|
|
785
895
|
- 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
896
|
|
|
787
|
-
### Deprecations
|
|
788
|
-
|
|
789
897
|
## [1.2.5] - 2018-01-13
|
|
790
898
|
### Enhancements
|
|
791
899
|
- Enhance W3C support
|
|
792
900
|
- Timeout related methods
|
|
793
901
|
|
|
794
|
-
### Bug fixes
|
|
795
|
-
|
|
796
|
-
### Deprecations
|
|
797
|
-
|
|
798
902
|
## [1.2.4] - 2018-01-03
|
|
799
903
|
### Enhancements
|
|
800
904
|
- Refactor `create_session` in `Appium::Core::Base::Bridge`
|
|
@@ -806,34 +910,18 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
806
910
|
- Read `lib/appium_lib_core/common/base/w3c_bridge.rb` for more details
|
|
807
911
|
- Can get logs like `driver.logs.available_types` and `driver.logs.get`
|
|
808
912
|
|
|
809
|
-
### Bug fixes
|
|
810
|
-
|
|
811
|
-
### Deprecations
|
|
812
|
-
|
|
813
913
|
## [1.2.3] - 2017-12-27
|
|
814
|
-
### Enhancements
|
|
815
|
-
|
|
816
914
|
### Bug fixes
|
|
817
915
|
- Fix some w3c methods to work with Appium part 2 [#38](https://github.com/appium/ruby_lib_core/pull/38)
|
|
818
916
|
|
|
819
|
-
### Deprecations
|
|
820
|
-
|
|
821
917
|
## [1.2.2] - 2017-12-25
|
|
822
|
-
### Enhancements
|
|
823
|
-
|
|
824
918
|
### Bug fixes
|
|
825
919
|
- Fix some w3c methods to work with Appium [#37](https://github.com/appium/ruby_lib_core/pull/37)
|
|
826
920
|
|
|
827
|
-
### Deprecations
|
|
828
|
-
|
|
829
921
|
## [1.2.1] - 2017-12-23
|
|
830
922
|
### Enhancements
|
|
831
923
|
- override default duration to make some action fast [#36](https://github.com/appium/ruby_lib_core/pull/36)
|
|
832
924
|
|
|
833
|
-
### Bug fixes
|
|
834
|
-
|
|
835
|
-
### Deprecations
|
|
836
|
-
|
|
837
925
|
## [1.2.0] - 2017-12-23
|
|
838
926
|
### Enhancements
|
|
839
927
|
- Append `appium:` prefix for capabilities automatically due to W3C format.
|
|
@@ -842,10 +930,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
842
930
|
- IME related
|
|
843
931
|
- Touch actions based on W3C spec
|
|
844
932
|
|
|
845
|
-
### Bug fixes
|
|
846
|
-
|
|
847
|
-
### Deprecations
|
|
848
|
-
|
|
849
933
|
## [1.1.0] - 2017-12-16
|
|
850
934
|
### Enhancements
|
|
851
935
|
- Add guidelines in `.github`
|
|
@@ -854,8 +938,6 @@ This release has a breaking change for creating core. Thus, I've bumped the majo
|
|
|
854
938
|
### Bug fixes
|
|
855
939
|
- fix creating sessions [#31](https://github.com/appium/ruby_lib_core/pull/31) for W3C creating sessions
|
|
856
940
|
|
|
857
|
-
### Deprecations
|
|
858
|
-
|
|
859
941
|
## [1.0.0] - 2017-11-12
|
|
860
942
|
|
|
861
943
|
Initial release
|