Created
March 18, 2015 17:24
-
-
Save Xatpy/7ef017a7e3aa2e4e0851 to your computer and use it in GitHub Desktop.
Capybara login cartodb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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