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.2.4 vendor/bundle/ruby/3.1.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.4 vendor/bundle/ruby/2.7.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.3 vendor/bundle/ruby/2.6.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.3 vendor/bundle/ruby/2.7.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb
tdiary-5.1.2 vendor/bundle/ruby/2.7.0/gems/phantomjs-2.1.1.0/lib/phantomjs/poltergeist.rb