From: john smith Date: 2012-11-09T02:33:02+09:00 Subject: Re: login web page using mechanize i followed the outline from the github capybara page and here is what i came up with. require 'capybara' #Capybara.default_driver = :selenium page = visit('http://www.distance-education.itt-tech.edu/') page.fill_in('fblogincd', :with => 'username') page.fill_in('fbpassword', :with => 'password') page2 = page.click_button('Login') pp page2 This is what i get: undefined method `visit' for Capybara:Module (NoMethodError) at first i thought it meant that i didnt have it set to a variable because i first tried visit('http://www.distance-education.itt-tech.edu/') but when i got an error i figured it was because i didnt set it to a variable. right now im not sure but this is what i came up with so far. any input would be appreciated thank you -- Posted via http://www.ruby-forum.com/.