Sha256: fe384e6f892b8236242abbe8aaeb68a3eb6c25715bfd7961bc52e1f69331809e
Contents?: true
Size: 343 Bytes
Versions: 2
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phantomjs2-2.0.0.2 | lib/phantomjs/poltergeist.rb |
phantomjs2-2.0.0.1 | lib/phantomjs/poltergeist.rb |