appium_lib 16.3.2 → 16.4.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 +7 -0
- data/appium_lib.gemspec +1 -1
- data/lib/appium_lib/android/common/helper.rb +5 -3
- data/lib/appium_lib/driver.rb +1 -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: 737cac2a7befc3590331dca750b538fa83574b34a1e3120d13b16abc46fdbbba
|
|
4
|
+
data.tar.gz: 6e98a1456c2ce0eadf278a27472a78ce7975a28b962fdf8fe152c75721563789
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32bb9c6dbfd35f25836f194e07b1f93314027747035754a8fe39fe06a717e1f76bb7d84ef4a24e7ea3a5534a05f892d9f8c15e0513c771f015eceadabe36cc3e
|
|
7
|
+
data.tar.gz: bb57e7f98300da2da9bd53a26e83439a4df63abc1d7d80f1dea66942b14d428d7f30c40ae400aa533decc4962232c62e32764a6230be9f216f576cf1d2c782d4
|
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.0](https://github.com/appium/ruby_lib/compare/v16.3.2...v16.4.0) (2026-10-26)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* include view-tag attribute in Android page inspection ([#1138](https://github.com/appium/ruby_lib/issues/1138)) ([0041940](https://github.com/appium/ruby_lib/commit/0041940f3588285ac10b7bdd95c227e4a559ce5f))
|
|
13
|
+
|
|
7
14
|
## [16.3.2](https://github.com/appium/ruby_lib/compare/v16.3.1...v16.3.2) (2026-09-14)
|
|
8
15
|
|
|
9
16
|
|
data/appium_lib.gemspec
CHANGED
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
|
18
18
|
|
|
19
19
|
s.add_dependency 'appium_lib_core', '>= 13.0.0', '< 14.0'
|
|
20
20
|
s.add_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
|
|
21
|
-
s.add_dependency 'tomlrb', '>= 1.1', '<
|
|
21
|
+
s.add_dependency 'tomlrb', '>= 1.1', '< 4.0'
|
|
22
22
|
|
|
23
23
|
s.files = Dir.glob('lib/**/*.rb', base: __dir__) + %w[appium_lib.gemspec readme.md LICENSE-2.0.txt CHANGELOG.md]
|
|
24
24
|
s.metadata['source_code_uri'] = s.homepage
|
|
@@ -34,7 +34,7 @@ module Appium
|
|
|
34
34
|
|
|
35
35
|
def reset
|
|
36
36
|
@result = ''
|
|
37
|
-
@keys = %w(text resource-id content-desc)
|
|
37
|
+
@keys = %w(text resource-id content-desc view-tag)
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
# http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
@@ -47,7 +47,7 @@ module Appium
|
|
|
47
47
|
attributes[key] = value if keys.include?(key) && !value.empty?
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
# scoped to: text resource-id content-desc
|
|
50
|
+
# scoped to: text resource-id content-desc view-tag
|
|
51
51
|
attributes_values = attributes.values
|
|
52
52
|
strings = driver.lazy_load_strings
|
|
53
53
|
id_matches = strings.empty? ? [] : strings.select { |_key, value| attributes_values.include? value }
|
|
@@ -72,6 +72,7 @@ module Appium
|
|
|
72
72
|
text = attributes['text']
|
|
73
73
|
desc = attributes['content-desc']
|
|
74
74
|
id = attributes['resource-id']
|
|
75
|
+
tag = attributes['view-tag']
|
|
75
76
|
|
|
76
77
|
if !text.nil? && text == desc
|
|
77
78
|
string += " text, desc: #{text}\n"
|
|
@@ -80,6 +81,7 @@ module Appium
|
|
|
80
81
|
string += " desc: #{desc}\n" unless desc.nil?
|
|
81
82
|
end
|
|
82
83
|
string += " id: #{id}\n" unless id.nil?
|
|
84
|
+
string += " tag: #{tag}\n" unless tag.nil?
|
|
83
85
|
string += " strings.xml: #{string_ids}" unless string_ids.nil?
|
|
84
86
|
|
|
85
87
|
@result += "\n#{name}\n#{string}" unless attributes.empty?
|
|
@@ -88,7 +90,7 @@ module Appium
|
|
|
88
90
|
|
|
89
91
|
# Android only.
|
|
90
92
|
# Returns a string containing interesting elements.
|
|
91
|
-
# The text, content description, and
|
|
93
|
+
# The text, content description, id, and view tag are returned.
|
|
92
94
|
# @param class_name [String] the class name to filter on.
|
|
93
95
|
# if false (default) then all classes will be inspected
|
|
94
96
|
# @return [String]
|
data/lib/appium_lib/driver.rb
CHANGED
|
@@ -246,7 +246,7 @@ module Appium
|
|
|
246
246
|
# Save global reference to last created Appium driver for top level methods.
|
|
247
247
|
$driver = self if global_driver
|
|
248
248
|
|
|
249
|
-
self # rubocop:disable Lint/Void
|
|
249
|
+
self # rubocop:disable Lint/Void -- return newly created driver
|
|
250
250
|
end
|
|
251
251
|
|
|
252
252
|
private
|
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.
|
|
18
|
-
DATE = '2026-
|
|
17
|
+
VERSION = '16.4.0' unless defined? ::Appium::VERSION
|
|
18
|
+
DATE = '2026-10-26' unless defined? ::Appium::DATE # x-release-please-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: 16.
|
|
4
|
+
version: 16.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- code@bootstraponline.com
|
|
@@ -59,7 +59,7 @@ dependencies:
|
|
|
59
59
|
version: '1.1'
|
|
60
60
|
- - "<"
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
|
-
version: '
|
|
62
|
+
version: '4.0'
|
|
63
63
|
type: :runtime
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -69,7 +69,7 @@ dependencies:
|
|
|
69
69
|
version: '1.1'
|
|
70
70
|
- - "<"
|
|
71
71
|
- !ruby/object:Gem::Version
|
|
72
|
-
version: '
|
|
72
|
+
version: '4.0'
|
|
73
73
|
description: Helper methods for writing cross-platform Android and iOS tests in Ruby
|
|
74
74
|
using Appium. Extends appium_lib_core with convenient methods for finding elements
|
|
75
75
|
and interacting with devices.
|
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
160
160
|
- !ruby/object:Gem::Version
|
|
161
161
|
version: '0'
|
|
162
162
|
requirements: []
|
|
163
|
-
rubygems_version: 4.0.
|
|
163
|
+
rubygems_version: 4.0.20
|
|
164
164
|
specification_version: 4
|
|
165
165
|
summary: Ruby library for Appium
|
|
166
166
|
test_files: []
|