jwilger-webrat 0.4.2.2 → 0.4.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/webrat.rb +1 -1
- data/lib/webrat/selenium/selenium_session.rb +3 -2
- metadata +2 -2
data/lib/webrat.rb
CHANGED
@@ -31,8 +31,9 @@ module Webrat
|
|
31
31
|
yield
|
32
32
|
end
|
33
33
|
|
34
|
-
def visit(url)
|
34
|
+
def visit(url, timeout = nil)
|
35
35
|
selenium.open(url)
|
36
|
+
selenium.wait_for_page_to_load(timeout)
|
36
37
|
end
|
37
38
|
|
38
39
|
webrat_deprecate :visits, :visit
|
@@ -234,4 +235,4 @@ module Webrat
|
|
234
235
|
end
|
235
236
|
end
|
236
237
|
end
|
237
|
-
end
|
238
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jwilger-webrat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.2.
|
4
|
+
version: 0.4.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Helmkamp
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-02
|
12
|
+
date: 2009-03-02 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|