search for: form_password

Displaying 1 result from an estimated 1 matches for "form_password".

2007 Oct 04
2
newbie question with login form
...@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. here is the mechanize log . ----- Net::HTTP::Get: / request-head...