selenium-server 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/example.rb +2 -0
- data/lib/selenium-server/selenium-server.rb +2 -4
- data/selenium-server.gemspec +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/example.rb
CHANGED
@@ -9,7 +9,7 @@ module SeleniumServer
|
|
9
9
|
@configuration = Configuration.new
|
10
10
|
end
|
11
11
|
|
12
|
-
attr_reader :
|
12
|
+
attr_reader :server
|
13
13
|
|
14
14
|
def localhost?
|
15
15
|
case @configuration.host
|
@@ -23,12 +23,10 @@ module SeleniumServer
|
|
23
23
|
@server = Server.new(@configuration)
|
24
24
|
server.start
|
25
25
|
end
|
26
|
-
|
27
|
-
return driver
|
26
|
+
Runner.new(@configuration).driver
|
28
27
|
end
|
29
28
|
|
30
29
|
def finish
|
31
|
-
driver.quit
|
32
30
|
if localhost? then server.stop end
|
33
31
|
end
|
34
32
|
|
data/selenium-server.gemspec
CHANGED