selenium-rc 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +3 -0
- data/README.markdown +1 -1
- data/lib/selenium_rc/server.rb +1 -0
- data/selenium-rc.gemspec +1 -1
- metadata +3 -3
data/CHANGES
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
2.3.1
|
2
|
+
Adds a 0.1 second sleep between attempts to check if Selenium is ready for connections
|
3
|
+
|
1
4
|
2.3.0
|
2
5
|
Updating Selenium jar to v2.0 [b1]
|
3
6
|
fixes bug on some Linux machines where server would not actually be ready for connections even though it was reported as ready
|
data/README.markdown
CHANGED
@@ -4,7 +4,7 @@ _selenium-rc_ is a convenient ruby wrapper for the Selenium Standalone Server ja
|
|
4
4
|
|
5
5
|
### Version ###
|
6
6
|
|
7
|
-
The current version of this gem (2.3.
|
7
|
+
The current version of this gem (2.3.1) packages **Selenium Standalone Server 2.0 [b1]**
|
8
8
|
|
9
9
|
### Basic Ruby Usage ###
|
10
10
|
|
data/lib/selenium_rc/server.rb
CHANGED
@@ -82,6 +82,7 @@ module SeleniumRC
|
|
82
82
|
def wait_for_service_with_timeout
|
83
83
|
start_time = Time.now
|
84
84
|
until ready?
|
85
|
+
sleep 0.1
|
85
86
|
if @timeout && (Time.now > (start_time + @timeout))
|
86
87
|
raise ServerNotStarted.new("Selenium Server was not ready for connections after #{@timeout} seconds")
|
87
88
|
end
|
data/selenium-rc.gemspec
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 2.3.
|
8
|
+
- 1
|
9
|
+
version: 2.3.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Pivotal Labs, Inc.
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2011-02-
|
21
|
+
date: 2011-02-17 00:00:00 +08:00
|
22
22
|
default_executable: selenium-rc
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|