eyes_selenium 3.14.5 → 3.14.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33218ab8511c24a5e5a8c242d7a2b377862f3f92d2cfa687f483fd36561a0010
4
- data.tar.gz: 0daf807db4b95929c775918449440f85eaa001f24cccb17bc2ea54432fd750f1
3
+ metadata.gz: b0ba0a853d9c472708fee35f4017ccce943678cadd10fe88e8b1e34d34bcff3e
4
+ data.tar.gz: 19ae381f33f0c571fa071de36303c938fd1d5f5be001d3dbfb25a2776babf013
5
5
  SHA512:
6
- metadata.gz: 7cba816ed94a833625a49333253dbb87edabe78aeaff9cb09ad5187ebc0bd76feffed4252e392f1e9d3bb75047ee20df40b0596f9bbe8389f52f4adc5bd4c031
7
- data.tar.gz: 7d688443dec79b8e1741ea71db332131c47cf911bf8fe390bcad024e6bdd1e1fd9f4edcc8525e5be19e54f0d808b7b359ab95e9f6dd8fc270d4d84e5b07a93c2
6
+ metadata.gz: 2ab54d240d874bd9a6d9e099d8cf8414339feb255f06a33e757cf54aa5c4ed273767710006c8a7bb5781adbac6c9f2b77027de373a5b74b8b074fcdfefe175b7
7
+ data.tar.gz: cf8396eb08764df8b8e9e87922076dfe3849fc110a758e53e4087918e5544c33d02eb128ac5419974bda445c0e89b054e7a8d033d19ca831b8bfc62c3f39b0be
@@ -62,17 +62,17 @@ module Applitools::Selenium
62
62
  # Returns the platform name.
63
63
  #
64
64
  # @return [String] The platform name or +nil+ if it is undefined.
65
- def platform_name
66
- capabilities['platformName']
67
- end
65
+ # def platform_name
66
+ # capabilities['platformName']
67
+ # end
68
68
 
69
69
  # Returns the platform version.
70
70
  #
71
71
  # @return [String] The platform version or +nil+ if it is undefined.
72
- def platform_version
73
- version = capabilities['platformVersion']
74
- version.nil? ? nil : version.to_s
75
- end
72
+ # def platform_version
73
+ # version = capabilities['platformVersion']
74
+ # version.nil? ? nil : version.to_s
75
+ # end
76
76
 
77
77
  # Returns +true+ if the driver orientation is landscape.
78
78
  def landscape_orientation?
@@ -175,15 +175,15 @@ module Applitools::Selenium
175
175
  driver.find_elements(how, what).map { |el| Applitools::Selenium::Element.new(self, el) }
176
176
  end
177
177
 
178
- # Returns +true+ if test is running on Android platform
179
- def android?
180
- platform_name.to_s.upcase == ANDROID
181
- end
182
-
183
- # Returns +true+ if test is running on iOS platform
184
- def ios?
185
- platform_name.to_s.upcase == IOS
186
- end
178
+ # # Returns +true+ if test is running on Android platform
179
+ # def android?
180
+ # platform_name.to_s.upcase == ANDROID
181
+ # end
182
+ #
183
+ # # Returns +true+ if test is running on iOS platform
184
+ # def ios?
185
+ # platform_name.to_s.upcase == IOS
186
+ # end
187
187
 
188
188
  # Returns a copy of current frame chain. Frame chain stores information about all parent frames,
189
189
  # including scroll offset an frame coordinates.
@@ -762,7 +762,7 @@ module Applitools::Selenium
762
762
  app_env = super
763
763
  if app_env.os.nil?
764
764
  logger.info 'No OS set, checking for mobile OS...'
765
- underlying_driver = Applitools::Utils::EyesSeleniumUtils.mobile_device?
765
+ underlying_driver = Applitools::Utils::EyesSeleniumUtils.mobile_device?(driver)
766
766
  unless underlying_driver.nil?
767
767
  logger.info 'Mobile device detected! Checking device type...'
768
768
  if Applitools::Utils::EyesSeleniumUtils.android?(underlying_driver)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Applitools
4
- VERSION = '3.14.5'.freeze
4
+ VERSION = '3.14.6'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eyes_selenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.14.5
4
+ version: 3.14.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Applitools Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-19 00:00:00.000000000 Z
11
+ date: 2019-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eyes_core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.14.5
19
+ version: 3.14.6
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: 3.14.5
26
+ version: 3.14.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: selenium-webdriver
29
29
  requirement: !ruby/object:Gem::Requirement