I\'m trying to test in my Rails app the Stripe checkout popup (http://www.stripe.com/checkout).
I was using Capybara + selenium-driver and everything worked well. When t
If you have a similar issue with phantomjs 1.9.7
, it's because of the SSL settings. You can disable checking using:
Capybara.register_driver :poltergeist do |app|
options = {
phantomjs_options: ['--ssl-protocol=any', '--ignore-ssl-errors=yes'],
inspector: false
}
Capybara::Poltergeist::Driver.new(app, options)
end