itms_automation 2.6.5 → 2.6.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0debb622483ecc8f743af4f964ac19b076602ae62a0ecf149b4b85284bd5bd9
|
4
|
+
data.tar.gz: a3d0dad052dd905099398484e92cb6a4e41a08f075bb69491cf9a374bf96104c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da38039d36ea506eb94609c605eb05a84da8f182e4a555ac8734bcdf2b4cd065ac2c07084626a5551e2f48049a7715bca2a5de7e67a1c5e4bec3643be7d28714
|
7
|
+
data.tar.gz: f52d41f0474e7d606891093536673b5c108a00d4f7f3e8063e4a8fbb6dfbbd22699374a6daebb13be4fd058933d8fbf1bbbd5c5ca1361eac4cb9458a91e67734
|
@@ -87,12 +87,17 @@ else # else create driver instance for desktop browser
|
|
87
87
|
puts "\nMissing REMOTE_BROWSER: REMOTE_BROWSER=browser_name"
|
88
88
|
Process.exit(0)
|
89
89
|
else
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
90
|
+
if ENV['SERVER_URL'].nil? || ENV['REMOTE_BROWSER'].nil?
|
91
|
+
puts "\nMissing SERVER_URL : SERVER_URL=http//SERVER_URL:4444/wd/hub"
|
92
|
+
puts "\nMissing REMOTE_BROWSER: REMOTE_BROWSER=browser_name"
|
93
|
+
Process.exit(0)
|
94
|
+
else
|
95
|
+
caps = Selenium::WebDriver::Remote::Capabilities.new
|
96
|
+
caps["browserName"] = ENV["REMOTE_BROWSER"]
|
97
|
+
caps["enableVNC"] = true
|
98
|
+
caps["enableVideo"] = true
|
99
|
+
caps["resolution"] = ENV["resolution"] unless ENV["resolution"]
|
100
|
+
Selenium::WebDriver.for(:remote, :url => ENV["SERVER_URL"], :desired_capabilities => caps)
|
96
101
|
end
|
97
102
|
else
|
98
103
|
Selenium::WebDriver.for(:firefox)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itms_automation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- INFOdation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|