Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Today Stripe dropped support for SSLv3 protocol. We're using an older version of PhantomJS in our specs, which defaults to sslv3, so this broke a swath of the Beeminder test suite. Here's the fix for anyone else with PhantomJS tests that wants to force not-sslv3.
require 'capybara/poltergeist'
Capybara.register_driver :poltergeist do |app|, :inspector => true, :js_errors => true, :phantomjs_options => ['--ssl-protocol=tlsv1'])

This comment has been minimized.

Copy link

@iancanderson iancanderson commented Nov 19, 2014

very helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment