appium_lib 12.0.0.rc2 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -3
- data/appium_lib.gemspec +2 -2
- data/docs/android_docs.md +207 -229
- data/docs/ios_docs.md +245 -267
- data/lib/appium_lib/driver.rb +3 -1
- data/lib/appium_lib/version.rb +2 -2
- data/readme.md +1 -0
- data/release_notes.md +28 -0
- metadata +10 -12
- data/docs/index_paths.md +0 -26
- data/docs/travis.sample.yml +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2add0b5d8bd1d6f72d13b7464ad31196c4ad37fd5ecc4809e0eadc2db9b2201b
|
4
|
+
data.tar.gz: f035061f54d471731bf533c6c431fd4453cac17b28402139930d7ad7a0762fa5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21e2df557b279f120ff24c454be96b97848ac6be5a357952d9df797a4f1ce2ed63e253e6e13c0f8c5df5fe269be4e19abefe578732211a203080d93178ac8c6d
|
7
|
+
data.tar.gz: 4c88bea3321224a18fd360a2f2789477147eb5a1698b6eadab524b25f608277d41a1140be89f1b96df4fdda1d4e79f25137f8691dd0cb1beb755d2a022488fe8
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,35 @@ Release tags are https://github.com/appium/ruby_lib/releases .
|
|
9
9
|
|
10
10
|
### 2. Bug fixes
|
11
11
|
|
12
|
+
### 3. Deprecations
|
13
|
+
|
14
|
+
## 12.0.0 - 2021-11-06
|
15
|
+
### 1. Enhancements
|
16
|
+
|
17
|
+
- Update ruby_lib_core version from v4 to v5. The change affects this library.
|
18
|
+
- [Migration from v4 to v5 in ruby_lib_core client](https://github.com/appium/ruby_lib_core#migration-from-v4-to-v5)
|
19
|
+
- Base Selenium Ruby binding is now v4
|
20
|
+
- Support only W3C WebDriver spec (and a few Appium specific commands)
|
21
|
+
- Support Ruby 2.6+
|
22
|
+
- `element.id` returns the element id instead of `element.ref`
|
23
|
+
- `element.ref` now returns an array
|
24
|
+
- Removed `forceMjsonwp` to send only MJSONWP capabilities since Selenium cleint v4 no longer supports MJSONWP
|
25
|
+
- No longer set default `timeouts` as `0`
|
26
|
+
- ruby_lib_core will call `/timeouts` endpoint only when `appium_lib: { wait: 5 }` is provided explicitly
|
27
|
+
- Raises `::Appium::Core::Error::ArgumentError` instead of `ArgumentError` for this library specific argument errors
|
28
|
+
|
29
|
+
### 2. Deprecations
|
30
|
+
- `TouchAction` and `MultiTouch` are deprecated
|
31
|
+
- Please use W3C actions instead https://github.com/appium/ruby_lib/blob/master/docs/w3c.md
|
32
|
+
- Other examples
|
33
|
+
- https://github.com/appium/ruby_lib/pull/909
|
34
|
+
- https://github.com/appium/ruby_lib_core/blob/master/CHANGELOG.md#deprecations-1
|
35
|
+
- `launch_app`, `close_app` and `reset` are deprecated. Please read [issues#15807](https://github.com/appium/appium/issues/15807) for more details.
|
36
|
+
- `activate_app` or a new session request can be alternatives of `launch_app`
|
37
|
+
- `terminate_app` or close the session request can be alternatives of `close_app`
|
38
|
+
- Close current session and creating a new session, or `terminate_app` and `launch_app` can be alternatives of `reset`
|
39
|
+
|
40
|
+
|
12
41
|
## 11.1.0 - 2020-12-29 (11.2.0 is the same as this version)
|
13
42
|
|
14
43
|
Support Ruby 3
|
@@ -105,7 +134,7 @@ This change has a breaking change about implicit wait.
|
|
105
134
|
- **Breaking changes**
|
106
135
|
- Set implicit wait zero by default following [WebDriver spec in Selenium](https://www.seleniumhq.org/docs/04_webdriver_advanced.jsp)
|
107
136
|
- The change potentially break your `find_element/s`
|
108
|
-
- You can wrap it with `wait` method to avoid the error explicitly
|
137
|
+
- You can wrap it with `wait` method to avoid the error explicitly
|
109
138
|
- Or you also can configure `wait: 20` as `appium_lib` capability to keep the behaviour
|
110
139
|
- [Experimental]
|
111
140
|
- Add `direct_connect` capability
|
@@ -162,7 +191,7 @@ This change has a breaking change about implicit wait.
|
|
162
191
|
{ platformName: :windows,
|
163
192
|
app: 'relative/path/to/app'
|
164
193
|
}
|
165
|
-
} # `:app` will be alsolute path to the `:app` if the path exists
|
194
|
+
} # `:app` will be alsolute path to the `:app` if the path exists
|
166
195
|
```
|
167
196
|
|
168
197
|
### 3. Deprecations
|
@@ -312,7 +341,7 @@ This change has a breaking change about implicit wait.
|
|
312
341
|
## v9.9.0
|
313
342
|
### 1. Enhancements
|
314
343
|
- Bump the core library to 1.3.0
|
315
|
-
- The change have one breaking change for `start_recording_screen`(Android)
|
344
|
+
- The change have one breaking change for `start_recording_screen`(Android)
|
316
345
|
- Read `docs/migration.md`
|
317
346
|
|
318
347
|
### 2. Bug fixes
|
data/appium_lib.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
|
15
15
|
s.require_paths = ['lib']
|
16
16
|
|
17
|
-
s.add_runtime_dependency 'appium_lib_core', '5.0.0
|
17
|
+
s.add_runtime_dependency 'appium_lib_core', '~> 5.0.0'
|
18
18
|
s.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
|
19
19
|
s.add_runtime_dependency 'tomlrb', '>= 1.1', '< 3.0'
|
20
20
|
|
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_development_dependency 'posix-spawn', '~> 0.3'
|
25
25
|
s.add_development_dependency 'pry'
|
26
26
|
s.add_development_dependency 'rake', '~> 13.0'
|
27
|
-
s.add_development_dependency 'rubocop', '1.22.
|
27
|
+
s.add_development_dependency 'rubocop', '1.22.3'
|
28
28
|
s.add_development_dependency 'spec', '~> 5.3', '>= 5.3.4'
|
29
29
|
s.add_development_dependency 'yard', '~> 0.9.11'
|
30
30
|
|