jeffrafter-crocodile 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/crocodile.gemspec +1 -1
  3. data/lib/crocodile.rb +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
data/crocodile.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{crocodile}
8
- s.version = "0.4.0"
8
+ s.version = "0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeff Rafter"]
data/lib/crocodile.rb CHANGED
@@ -31,7 +31,7 @@ class Crocodile
31
31
  browser.open url
32
32
  browser.get_eval "window.resizeTo(#{options[:width]},#{options[:height]});" if (options[:width] && options[:height])
33
33
  yield browser if block
34
- browser.capture_entire_page_screenshot File.join(File.expand_path('.'), dest), ''
34
+ browser.capture_entire_page_screenshot File.join(File.expand_path('.'), dest), :wait_for => :page
35
35
  browser.close_current_browser_session
36
36
  ensure
37
37
  stop if options[:stop]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jeffrafter-crocodile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Rafter