appium_lib 12.0.0.rc2 → 12.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -4
- data/appium_lib.gemspec +1 -1
- data/lib/appium_lib/driver.rb +3 -1
- data/lib/appium_lib/version.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d381f320f3c082e0ef96fc0c514b2ef1fbab636ef61fcd124208456006ddda3
|
4
|
+
data.tar.gz: a3480ea80592392c11c39b1267fb2be0b56815e68b01e320dbe94df5e1ed9cce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fcb301702202ac27a9b4697de9efc085a60cdc7ad1cc1cd9762d77564aeed24bd85974e5cfda47c824bcb1c035188865a75f177af38a1fd1a01321b2e8bc9bd
|
7
|
+
data.tar.gz: 97003868baa5762a84c5ab9e4518ac22972b08d1c30b85d461657710e84695c30e116aa7094f6444c7c4390077211a67c0f826333215fca9a5009e741c585048
|
data/CHANGELOG.md
CHANGED
@@ -7,7 +7,20 @@ Release tags are https://github.com/appium/ruby_lib/releases .
|
|
7
7
|
|
8
8
|
### 1. Enhancements
|
9
9
|
|
10
|
-
|
10
|
+
- Update base [ruby_lib_core client](https://github.com/appium/ruby_lib_core) to v5
|
11
|
+
- Update base selenium webdriver version to `4.0.0`
|
12
|
+
- Support only W3C spec as following Selenium v4 client
|
13
|
+
- Support Ruby 2.6+
|
14
|
+
- `element.id` returns the element id instead of `element.ref`. `element.ref` now returns an array.
|
15
|
+
- Removed `forceMjsonwp` to send only MJSONWP capabilities since Selenium cleint v4 no longer supports MJSONWP
|
16
|
+
- No longer set default `timeouts` as `0`. ruby_lib_core calls `/timeouts` endpoint only when `appium_lib: { wait: 5 }` is provided explicitly
|
17
|
+
- Raises `::Appium::Core::Error::ArgumentError` instead of `ArgumentError` for this library specific argument errors
|
18
|
+
|
19
|
+
### 2. Deprecations
|
20
|
+
- `TouchAction` and `MultiTouch` are deprecated
|
21
|
+
- Please use W3C actions instead https://github.com/appium/ruby_lib/blob/master/docs/w3c.md
|
22
|
+
- Other examples: https://github.com/appium/ruby_lib/pull/909
|
23
|
+
- Removed Selendroid related methods
|
11
24
|
|
12
25
|
## 11.1.0 - 2020-12-29 (11.2.0 is the same as this version)
|
13
26
|
|
@@ -105,7 +118,7 @@ This change has a breaking change about implicit wait.
|
|
105
118
|
- **Breaking changes**
|
106
119
|
- Set implicit wait zero by default following [WebDriver spec in Selenium](https://www.seleniumhq.org/docs/04_webdriver_advanced.jsp)
|
107
120
|
- The change potentially break your `find_element/s`
|
108
|
-
- You can wrap it with `wait` method to avoid the error explicitly
|
121
|
+
- You can wrap it with `wait` method to avoid the error explicitly
|
109
122
|
- Or you also can configure `wait: 20` as `appium_lib` capability to keep the behaviour
|
110
123
|
- [Experimental]
|
111
124
|
- Add `direct_connect` capability
|
@@ -162,7 +175,7 @@ This change has a breaking change about implicit wait.
|
|
162
175
|
{ platformName: :windows,
|
163
176
|
app: 'relative/path/to/app'
|
164
177
|
}
|
165
|
-
} # `:app` will be alsolute path to the `:app` if the path exists
|
178
|
+
} # `:app` will be alsolute path to the `:app` if the path exists
|
166
179
|
```
|
167
180
|
|
168
181
|
### 3. Deprecations
|
@@ -312,7 +325,7 @@ This change has a breaking change about implicit wait.
|
|
312
325
|
## v9.9.0
|
313
326
|
### 1. Enhancements
|
314
327
|
- Bump the core library to 1.3.0
|
315
|
-
- The change have one breaking change for `start_recording_screen`(Android)
|
328
|
+
- The change have one breaking change for `start_recording_screen`(Android)
|
316
329
|
- Read `docs/migration.md`
|
317
330
|
|
318
331
|
### 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.rc7'
|
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
|
|
data/lib/appium_lib/driver.rb
CHANGED
@@ -782,7 +782,9 @@ module Appium
|
|
782
782
|
end
|
783
783
|
|
784
784
|
def log_event=(log_event)
|
785
|
-
|
785
|
+
unless log_event.is_a?(Hash)
|
786
|
+
raise ::Appium::Core::Error::ArgumentError('log_event should be Hash like { vendor: "appium", event: "funEvent"}')
|
787
|
+
end
|
786
788
|
|
787
789
|
@driver.logs.event vendor: log_event[:vendor], event: log_event[:event]
|
788
790
|
end
|
data/lib/appium_lib/version.rb
CHANGED
@@ -14,6 +14,6 @@
|
|
14
14
|
|
15
15
|
module Appium
|
16
16
|
# Version and Date are defined on the 'Appium' module, not 'Appium::Common'
|
17
|
-
VERSION = '12.0.0.
|
18
|
-
DATE = '2021-10-
|
17
|
+
VERSION = '12.0.0.rc3' unless defined? ::Appium::VERSION
|
18
|
+
DATE = '2021-10-27' unless defined? ::Appium::DATE
|
19
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.0.0.
|
4
|
+
version: 12.0.0.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- code@bootstraponline.com
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-10-
|
12
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: appium_lib_core
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 5.0.0.
|
20
|
+
version: 5.0.0.rc7
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 5.0.0.
|
27
|
+
version: 5.0.0.rc7
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: nokogiri
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|