appium_lib 12.0.0.rc2 → 12.0.0.rc3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52283e92f78a4a0e68d353ecd3287e6f615ce1d15360ad7eacd2bd382e5e7f3e
4
- data.tar.gz: ca436fcedfca01656a12f4c60b575217ca6b9ab11f501a33ad17781993d39284
3
+ metadata.gz: 3d381f320f3c082e0ef96fc0c514b2ef1fbab636ef61fcd124208456006ddda3
4
+ data.tar.gz: a3480ea80592392c11c39b1267fb2be0b56815e68b01e320dbe94df5e1ed9cce
5
5
  SHA512:
6
- metadata.gz: 49efa218bb8ba7bd688dde7f4b94767667b78eaaa445f6f5841449d35f56b2b0d4b88ae81593ae955da6b8071eb5dac67bcde4dc321ebd6aa55d47bc58d7ba04
7
- data.tar.gz: 6c6c54d951e063cbb3da2d1f0d4a6b39cc050e845d4e40a47b0b167074150dc1dda01f99f4656102ad2aa62fa6c9d260729d599acf9fce4dc79285a3fd477663
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
- ### 2. Bug fixes
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.rc6'
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
 
@@ -782,7 +782,9 @@ module Appium
782
782
  end
783
783
 
784
784
  def log_event=(log_event)
785
- raise ArgumentError('log_event should be Hash like { vendor: "appium", event: "funEvent"}') unless log_event.is_a?(Hash)
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
@@ -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.rc2' unless defined? ::Appium::VERSION
18
- DATE = '2021-10-25' unless defined? ::Appium::DATE
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.rc2
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-25 00:00:00.000000000 Z
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.rc6
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.rc6
27
+ version: 5.0.0.rc7
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: nokogiri
30
30
  requirement: !ruby/object:Gem::Requirement