Skip to content

Instantly share code, notes, and snippets.

@Xatpy
Created March 18, 2015 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Xatpy/458abb3d4926c2142fe9 to your computer and use it in GitHub Desktop.
Save Xatpy/458abb3d4926c2142fe9 to your computer and use it in GitHub Desktop.
capybara login cartodb script
require 'capybara'
session = Capybara::Session.new(:selenium)
session.visit "http://cartodb.com/login"
session.fill_in 'session_email', :with => "user"
session.fill_in 'session_password', :with => "password"
session.find('.Btn').click
puts 'vamos'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment