appium_lib 16.4.0 → 16.4.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 +7 -0
- data/lib/appium_lib/appium.rb +3 -2
- data/lib/appium_lib/common/helper.rb +1 -1
- data/lib/appium_lib/driver.rb +2 -2
- data/lib/appium_lib/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5206e8a735fef077d8eae00bd61c72be9d9845bd5e552ed5cc117b712d118ccf
|
|
4
|
+
data.tar.gz: 1e4b652e6c3a190612a46a514d56f040fe2cfc8a5caf30e64c6273b38608192e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9288fcfbc87a7ef1de6fbecf09591eb6961b25f779c50a6a8a29d7cbe0a8f37e66c94fef47233f3fab5cf6df26b6624580ccbd83e0662d79d896b342d11f3f1
|
|
7
|
+
data.tar.gz: 0ffba8aae6f9bdcedc9da7c3aebb2db10cac1e067e38d89b373068555d242a8df18c4b94070c0f4851856f1e9478e136d1db07b2adc203f77c95a870e1a4bbd5
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ New entries are maintained by Release Please.
|
|
|
4
4
|
|
|
5
5
|
Release tags are https://github.com/appium/ruby_lib/releases .
|
|
6
6
|
|
|
7
|
+
## [16.4.1](https://github.com/appium/ruby_lib/compare/v16.4.0...v16.4.1) (2026-10-28)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* require error definitions, use next in HTMLElements#result, and fix Driver#log_event= error raising ([#1140](https://github.com/appium/ruby_lib/issues/1140)) ([1b28f90](https://github.com/appium/ruby_lib/commit/1b28f9008c488b8945cfbc41458bb430b2f7a546))
|
|
13
|
+
|
|
7
14
|
## [16.4.0](https://github.com/appium/ruby_lib/compare/v16.3.2...v16.4.0) (2026-10-26)
|
|
8
15
|
|
|
9
16
|
|
data/lib/appium_lib/appium.rb
CHANGED
|
@@ -19,6 +19,7 @@ require 'nokogiri'
|
|
|
19
19
|
require 'appium_lib_core'
|
|
20
20
|
|
|
21
21
|
# base
|
|
22
|
+
require_relative 'error'
|
|
22
23
|
require_relative 'driver'
|
|
23
24
|
require_relative 'sauce_labs'
|
|
24
25
|
|
|
@@ -173,7 +174,7 @@ module Appium
|
|
|
173
174
|
|
|
174
175
|
const.send(:define_singleton_method, m) do |*args, **kwargs, &block|
|
|
175
176
|
super(*args, **kwargs, &block) # promote.rb
|
|
176
|
-
rescue NoMethodError, ArgumentError
|
|
177
|
+
rescue NoMethodError, ::ArgumentError
|
|
177
178
|
driver.send m, *args, **kwargs, &block if driver.respond_to?(m)
|
|
178
179
|
end
|
|
179
180
|
end
|
|
@@ -229,7 +230,7 @@ module Appium
|
|
|
229
230
|
# minitest also defines a name method,
|
|
230
231
|
# so rescue argument error
|
|
231
232
|
# and call the name method on $driver
|
|
232
|
-
rescue NoMethodError, ArgumentError
|
|
233
|
+
rescue NoMethodError, ::ArgumentError
|
|
233
234
|
if args.size == 1 && args.first.is_a?(Hash)
|
|
234
235
|
# To prevent warnings by keyword arguments (for Ruby 2.7 and 3)
|
|
235
236
|
driver.send method, **args.first, &block if driver.respond_to?(method)
|
data/lib/appium_lib/driver.rb
CHANGED
|
@@ -888,9 +888,9 @@ module Appium
|
|
|
888
888
|
end
|
|
889
889
|
|
|
890
890
|
def log_event=(log_event)
|
|
891
|
-
raise if @driver.nil?
|
|
891
|
+
raise NoDriverInstanceError if @driver.nil?
|
|
892
892
|
unless log_event.is_a?(Hash)
|
|
893
|
-
raise ::Appium::Core::Error::ArgumentError
|
|
893
|
+
raise ::Appium::Core::Error::ArgumentError, 'log_event should be Hash like { vendor: "appium", event: "funEvent"}'
|
|
894
894
|
end
|
|
895
895
|
|
|
896
896
|
@driver.logs.event vendor: log_event[:vendor], event: log_event[:event]
|
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 = '16.4.
|
|
18
|
-
DATE = '2026-10-
|
|
17
|
+
VERSION = '16.4.1' unless defined? ::Appium::VERSION
|
|
18
|
+
DATE = '2026-10-28' unless defined? ::Appium::DATE # x-release-please-date
|
|
19
19
|
end
|