Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: moo man
cant login to gmail [ reply ]  
2011-08-19 05:13
This is my code:

require "rubygems"
require "json"
require "celerity"
ie = Celerity::Browser.new
ie.goto("http://www.gmail.com";)
ie.text_field(:id,"Email").value = "user"
ie.text_field(:id,"Passwd").value = "passwd"
ie.button(:id,"signIn").click
puts ie.url

Celerity just hangs after clicking the button, never gets past the loading screen.