gless 2.0.0 → 2.1.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/examples/test_github/lib/config/development.yml.example +1 -0
- data/lib/gless.rb +1 -1
- data/lib/gless/browser.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5e8c9d821fa58dbac813938eb4bc0f48df3ac05
|
|
4
|
+
data.tar.gz: 2a0ed6670fa38288d3fd68c6d80a69771605cab4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b0877a55cd0235541a072eb379eecd4a634bb429aab2f433dafd956ab2cd19fc0a5b3d3eee001859144163911425f6ff652c9a2d94fad10a0a3abea639b59fbf
|
|
7
|
+
data.tar.gz: e41f940f2f3c1840f8850f29ea1c8df39d50ad61dfbe7ad0713a1f2c0b1d289ad297474288f1f89cf4a7c2f49d57e9ad4d2e2639889fbfaf08b7c13e9611f884
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
:type: remote # Local or remote
|
|
7
7
|
:browser: chrome # Which browser to use; "ie", "chrome", and "firefox" are definitely valid, there may be others
|
|
8
8
|
:port: 4444 # If remote, port to connect to the selenium server, otherwise ignored
|
|
9
|
+
:timeout: 600 # Timeout on a per-operation basis
|
|
9
10
|
# These options would normally only be used with something like SauceLabs
|
|
10
11
|
#
|
|
11
12
|
# :url: "http://rlpowell:[snip]@ondemand.saucelabs.com:80/wd/hub" # The URL Sauce gives you
|
data/lib/gless.rb
CHANGED
data/lib/gless/browser.rb
CHANGED
|
@@ -58,7 +58,10 @@ module Gless
|
|
|
58
58
|
url = "http://127.0.0.1:#{port}/wd/hub"
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
client = Selenium::WebDriver::Remote::Http::Default.new
|
|
62
|
+
client.timeout = config.get_default( 600, :global, :browser, :timeout )
|
|
63
|
+
|
|
64
|
+
@browser = Watir::Browser.new(:remote, :url => url, :desired_capabilities => capabilities, :http_client => client)
|
|
62
65
|
else
|
|
63
66
|
@logger.info "Launching local browser #{browser}"
|
|
64
67
|
@browser = Watir::Browser.new browser
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gless
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Robin Lee Powell
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-
|
|
12
|
+
date: 2014-05-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rspec
|