Displaying 1 result from an estimated 1 matches for "form_login".
2007 Oct 04
2
newbie question with login form
...login process
i''m logging on my app like this :
------
@agent = WWW::Mechanize.new { |a| a.log = Logger.new("mech.log") }
@agent.user_agent_alias = ''Mac Safari''
@page = @agent.get("http://myappAdress/")
@form = @page.forms.first
@form[''form_login''] = ''myLog''
@form[''form_password''] = ''myPass''
@page = @agent.submit(@form, @form.buttons.first)
put @page.body
----
Identification process is done , i can see it in my application log, but
the page displayed is still the login form...