Sha256: bd9c0fac8bab7650ad13d6c49af48fc817de441329cd2e2cabdbbc0c2ac441ae

Contents?: true

Size: 343 Bytes

Versions: 47

Compression:

Stored size: 343 Bytes

Contents

# encoding: utf-8
require 'phantomjs'

begin
  require 'capybara/poltergeist'
rescue => LoadError 
  raise "Poltergeist support requires the poltergeist gem to be available."
end

Phantomjs.path # Force install on require
Capybara.register_driver :poltergeist do |app|
  Capybara::Poltergeist::Driver.new(app, :phantomjs => Phantomjs.path)
end

Version data entries

47 entries across 33 versions & 5 rubygems

Version Path
phantomjs_2.0-2.0.0.0 lib/phantomjs/poltergeist.rb
phantomjs-1.9.8.0 lib/phantomjs/poltergeist.rb
glebtv-phantomjs-1.9.8.0 lib/phantomjs/poltergeist.rb
phantomjs-1.9.7.1 lib/phantomjs/poltergeist.rb
phantomjs-1.9.7.0 lib/phantomjs/poltergeist.rb
phantomjs-1.9.2.1 lib/phantomjs/poltergeist.rb
phantomjs-1.9.2.0 lib/phantomjs/poltergeist.rb