watir-browser-factory 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/watir-browser-factory/browser.rb +2 -7
- data/lib/watir-browser-factory/version.rb +1 -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: 6c9859ab6b9d17fc134148099c7d0168d6262a74
|
4
|
+
data.tar.gz: 3f6056f3058f116f344453c3872f7931491f1e0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48ad83a1165255e26f0481595e65a0305ffd614a715b64a1528cbe3d1dff9432718de37c381f7ba2b3e16132102ee71fb690aba789000d68948f59f369cc990a
|
7
|
+
data.tar.gz: bccb793a3d115b09118b04026d1b120c1690b767c68d705479a3bb39cc867ce214433fe4676de4873ad78543c4215a68137eb2fc8afd952e8267700c15df5360
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Watir
|
2
2
|
class Browser
|
3
3
|
class << self
|
4
|
-
def sauce_start(
|
4
|
+
def sauce_start(caps,*args)
|
5
5
|
# If we didn't get a platform we're assuming that we're running locally.
|
6
6
|
# Don't like how long service status takes now.
|
7
7
|
|
@@ -12,13 +12,8 @@ module Watir
|
|
12
12
|
:desired_capabilities => caps)
|
13
13
|
else
|
14
14
|
puts "Running locally"
|
15
|
-
b = Watir::Browser.new(:
|
15
|
+
b = Watir::Browser.new(caps[:browserName])
|
16
16
|
end
|
17
|
-
|
18
|
-
b.goto url
|
19
|
-
|
20
|
-
# Return our browser.
|
21
|
-
b
|
22
17
|
end
|
23
18
|
end
|
24
19
|
end # Browser
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watir-browser-factory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Franko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|