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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2749d77d8d065608653fa72770211365bb18313
4
- data.tar.gz: 0b04ad773fe858b540d9860f85c42b67a9236e2d
3
+ metadata.gz: 6c9859ab6b9d17fc134148099c7d0168d6262a74
4
+ data.tar.gz: 3f6056f3058f116f344453c3872f7931491f1e0e
5
5
  SHA512:
6
- metadata.gz: 209eb94793e9cf74fac853a2826daaaf024f6cba094df0371c23a2e996df35ea9758dcd03d6b51e87a3cb74b30a48b7df8c3fd2b307ba9d7ef704567151fabae
7
- data.tar.gz: 7052781c2140be9ffbe159dbc3095bdbc018ce6cad27488223bad64ffcb50a8e2330f648af5a0728f9fc101996439ffef8126f8a2b043d4ae0bc38ec3bd2c9f0
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(url,caps,*args)
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(:firefox)
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
@@ -1,7 +1,7 @@
1
1
  module Watir
2
2
  class Browser
3
3
  class Factory
4
- VERSION = "0.0.3"
4
+ VERSION = "0.0.4"
5
5
  end
6
6
  end # Browser
7
7
  end # Watir
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.3
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-03 00:00:00.000000000 Z
11
+ date: 2014-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler