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
tdiary-5.1.2 vendor/bundle/ruby/2.7.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.1 vendor/bundle/ruby/2.7.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.0 vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.13 vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.12.1 vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.11 vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.9 vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.8 vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.8 vendor/bundle/ruby/2.5.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.7 vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.6 vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.5 vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.4 vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.2 vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.0.1 vendor/bundle/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
phantomjs-2.1.1.0 lib/phantomjs/poltergeist.rb
phantomjs_ruby-2.0.0.0 lib/phantomjs/poltergeist.rb