appium_lib_core 9.1.0 → 9.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/appium_lib_core.gemspec +10 -10
- data/lib/appium_lib_core/common/base/bridge.rb +0 -19
- data/lib/appium_lib_core/driver.rb +1 -1
- data/lib/appium_lib_core/version.rb +2 -2
- metadata +44 -43
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 827943442ec187cb8560448ab4eca8ce3305e09c1ba14416e9105e29120623f2
|
4
|
+
data.tar.gz: 25a47149ae8ad01da298b922bbc0155fe0a2721b2ae723207354f165bff13f22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9737c683de56476af3f64cbd5f0d5f7f041af46de93ca27f839de54121e3c62a8cee70af0b0648b31f1ec303da8d5a5d2994bb04dac03528f0e260e8ae22febc
|
7
|
+
data.tar.gz: 0d4cabc1242a5e02e08aa3306d44b83560768b986cde550870a9f351c6519c60f671bfb209302b3997088fcb36622ae1ef287d5d853aa57a077ec88f95f1db91
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,17 @@ Read `release_notes.md` for commit level details.
|
|
10
10
|
|
11
11
|
### Deprecations
|
12
12
|
|
13
|
+
## [9.1.2] - 2024-06-03
|
14
|
+
|
15
|
+
### Bug fixes
|
16
|
+
- Fix `server_url` usage in `core.start_driver` to respect the given value every time.
|
17
|
+
|
18
|
+
## [9.1.1] - 2024-05-19
|
19
|
+
|
20
|
+
### Enhancements
|
21
|
+
- Simplify internal code with Selenium 4.21.0 further.
|
22
|
+
|
23
|
+
|
13
24
|
## [9.1.0] - 2024-05-18
|
14
25
|
|
15
26
|
### Enhancements
|
data/appium_lib_core.gemspec
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
3
|
require 'appium_lib_core/version'
|
5
4
|
|
@@ -11,8 +10,8 @@ Gem::Specification.new do |spec|
|
|
11
10
|
spec.authors = ['Kazuaki MATSUO']
|
12
11
|
spec.email = ['fly.49.89.over@gmail.com']
|
13
12
|
|
14
|
-
spec.summary =
|
15
|
-
spec.description =
|
13
|
+
spec.summary = 'Minimal Ruby library for Appium.'
|
14
|
+
spec.description = 'Minimal Ruby library for Appium.'
|
16
15
|
spec.homepage = 'https://github.com/appium/ruby_lib_core/'
|
17
16
|
spec.license = 'Apache-2.0'
|
18
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
@@ -22,16 +21,17 @@ Gem::Specification.new do |spec|
|
|
22
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
22
|
spec.require_paths = ['lib']
|
24
23
|
|
25
|
-
spec.add_runtime_dependency 'selenium-webdriver', '~> 4.21'
|
26
24
|
spec.add_runtime_dependency 'faye-websocket', '~> 0.11.0'
|
25
|
+
spec.add_runtime_dependency 'selenium-webdriver', '~> 4.21'
|
27
26
|
|
28
|
-
spec.add_development_dependency '
|
29
|
-
spec.add_development_dependency 'yard', '~> 0.9.11'
|
27
|
+
spec.add_development_dependency 'appium_thor', '~> 2.0'
|
30
28
|
spec.add_development_dependency 'minitest', '~> 5.0'
|
31
29
|
spec.add_development_dependency 'minitest-reporters', '~> 1.1'
|
32
|
-
spec.add_development_dependency 'webmock', '~> 3.23.0'
|
33
|
-
spec.add_development_dependency 'rubocop', '1.63.5'
|
34
|
-
spec.add_development_dependency 'appium_thor', '~> 2.0'
|
35
30
|
spec.add_development_dependency 'parallel_tests'
|
31
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
32
|
+
spec.add_development_dependency 'rubocop', '1.64.1'
|
36
33
|
spec.add_development_dependency 'simplecov'
|
34
|
+
spec.add_development_dependency 'webmock', '~> 3.23.0'
|
35
|
+
spec.add_development_dependency 'yard', '~> 0.9.11'
|
36
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
37
37
|
end
|
@@ -327,25 +327,6 @@ module Appium
|
|
327
327
|
def send_command(command_params)
|
328
328
|
execute :chrome_send_command, {}, command_params
|
329
329
|
end
|
330
|
-
|
331
|
-
private
|
332
|
-
|
333
|
-
def unwrap_script_result(arg)
|
334
|
-
case arg
|
335
|
-
when Array
|
336
|
-
arg.map { |e| unwrap_script_result(e) }
|
337
|
-
when Hash
|
338
|
-
element_id = element_id_from(arg)
|
339
|
-
return ::Appium::Core::Element.new(self, element_id) if element_id
|
340
|
-
|
341
|
-
shadow_root_id = shadow_root_id_from(arg)
|
342
|
-
return ::Selenium::WebDriver::Remote::ShadowRoot.new self, shadow_root_id if shadow_root_id
|
343
|
-
|
344
|
-
arg.each { |k, v| arg[k] = unwrap_script_result(v) }
|
345
|
-
else
|
346
|
-
arg
|
347
|
-
end
|
348
|
-
end
|
349
330
|
end # class Bridge
|
350
331
|
end # class Base
|
351
332
|
end # module Core
|
@@ -394,7 +394,7 @@ module Appium
|
|
394
394
|
|
395
395
|
def start_driver(server_url: nil,
|
396
396
|
http_client_ops: { http_client: nil, open_timeout: 999_999, read_timeout: 999_999 })
|
397
|
-
@custom_url
|
397
|
+
@custom_url = server_url || "http://127.0.0.1:#{@port}/wd/hub"
|
398
398
|
|
399
399
|
@http_client = get_http_client http_client: http_client_ops.delete(:http_client),
|
400
400
|
open_timeout: http_client_ops.delete(:open_timeout),
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
module Appium
|
16
16
|
module Core
|
17
|
-
VERSION = '9.1.
|
18
|
-
DATE = '2024-
|
17
|
+
VERSION = '9.1.2' unless defined? ::Appium::Core::VERSION
|
18
|
+
DATE = '2024-06-03' unless defined? ::Appium::Core::DATE
|
19
19
|
end
|
20
20
|
end
|
metadata
CHANGED
@@ -1,169 +1,169 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_lib_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.1.
|
4
|
+
version: 9.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazuaki MATSUO
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: faye-websocket
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.11.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.11.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: selenium-webdriver
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '4.21'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '4.21'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: appium_thor
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '2.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: minitest
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0
|
61
|
+
version: '5.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0
|
68
|
+
version: '5.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: minitest
|
70
|
+
name: minitest-reporters
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '1.1'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1.1'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: parallel_tests
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: '13.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: '13.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rubocop
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
117
|
+
version: 1.64.1
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
124
|
+
version: 1.64.1
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: simplecov
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
131
|
+
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - "
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
138
|
+
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: webmock
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 3.23.0
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - "
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 3.23.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
154
|
+
name: yard
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - "
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: 0.9.11
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - "
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: 0.9.11
|
167
167
|
description: Minimal Ruby library for Appium.
|
168
168
|
email:
|
169
169
|
- fly.49.89.over@gmail.com
|
@@ -258,7 +258,8 @@ files:
|
|
258
258
|
homepage: https://github.com/appium/ruby_lib_core/
|
259
259
|
licenses:
|
260
260
|
- Apache-2.0
|
261
|
-
metadata:
|
261
|
+
metadata:
|
262
|
+
rubygems_mfa_required: 'true'
|
262
263
|
post_install_message:
|
263
264
|
rdoc_options: []
|
264
265
|
require_paths:
|