From: thiago damasceno Date: 2010-07-22T15:45:02+09:00 Subject: Re: mechanzie submit fails at gmail login --001485f1eb70de87ee048bf44178 Content-Type: text/plain; charset=UTF-8 On Thu, Jul 22, 2010 at 3:33 AM, Chugm 456789 wrote: > thiago damasceno wrote: > > On Wed, Jul 21, 2010 at 6:12 AM, Chugm 456789 > > wrote: > > > >> @agent.keep_alive = false > >> login_form.Email = account > >> Posted via http://www.ruby-forum.com/. > >> > >> > > Hi, > > > > try this: > > > > @agent.submit(login_form,login_form.button_with(:name => "SignIn")) > > > > I'm not sure about the name of the button but you get the idea > > Hi, > > thanks for your reply. I tried it your way, bt it didn't help. Still get > the exception. Seems the agent doesn't know the form, wehn he tries to > submit it. But it doesn't make sence anyway. > -- > Posted via http://www.ruby-forum.com/. > > Hi, I've looked up and the name of the button is "signIn". I did a little test here and everything went fine. Try checking the name. --001485f1eb70de87ee048bf44178--