testcentricity_web 3.2.5 → 3.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/testcentricity_web/version.rb +1 -1
- data/lib/testcentricity_web/web_elements/audio.rb +2 -2
- data/lib/testcentricity_web/web_elements/video.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31b3ef470818525ef0b59b59116de2833f47266718d0aab4f357189899d00e8f
|
4
|
+
data.tar.gz: 78e48e5d3528431f1b73d306179d5eb49ad3b0780ec5427cc1aa131f1e68ac79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d9f54a051be96846d2d3dfcca8c7182067c346ba6b2c5d0160f8225c25e1ef4ac4768519fd1e3b41e886c37e7b877d989cd49e1ad1930e7ecff1ab8cd644fd0
|
7
|
+
data.tar.gz: 07bbceeeb3af72e2bc9b8d8a3e21f31b25a3f922956a76719048e7dde67e071cd5baa37126cd3557b7f57722389781af25850234a85f29ddb09bf06fa0eab16f
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -208,14 +208,14 @@ module TestCentricity
|
|
208
208
|
|
209
209
|
# Return audio volume property
|
210
210
|
#
|
211
|
-
# @return [
|
211
|
+
# @return [Float] audio volume setting
|
212
212
|
# @example
|
213
213
|
# volume_level = audio_player.volume
|
214
214
|
#
|
215
215
|
def volume
|
216
216
|
obj, = find_element(visible = :all)
|
217
217
|
object_not_found_exception(obj, :audio)
|
218
|
-
obj.native.attribute('volume')
|
218
|
+
obj.native.attribute('volume').to_f
|
219
219
|
end
|
220
220
|
|
221
221
|
# Set the audio currentTime property
|
@@ -208,14 +208,14 @@ module TestCentricity
|
|
208
208
|
|
209
209
|
# Return video volume property
|
210
210
|
#
|
211
|
-
# @return [
|
211
|
+
# @return [Float] video volume setting
|
212
212
|
# @example
|
213
213
|
# volume_level = video_player.volume
|
214
214
|
#
|
215
215
|
def volume
|
216
216
|
obj, = find_element
|
217
217
|
object_not_found_exception(obj, nil)
|
218
|
-
obj.native.attribute('volume')
|
218
|
+
obj.native.attribute('volume').to_f
|
219
219
|
end
|
220
220
|
|
221
221
|
# Return video Height property
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testcentricity_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- A.J. Mrozinski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|