Displaying 2 results from an estimated 2 matches for "session_password".
2007 Aug 21
7
Signin to LinkedIn
...39;'http://www.linkedin.com'')
signin_page = agent.click home_page.links.text(''Sign in'')
puts "\nSIGNIN PAGE"
pp signin_page
login_form = signin_page.form(''login'')
login_form.session_login = ''LOGIN''
login_form.session_password = ''PASSWORD''
welcome_page = agent.submit(login_form, login_form.buttons.first)
puts "\nWELCOME PAGE"
pp welcome_page <<<< Currently returns signin page
I tried mucking about with a session key, but no joy:
login_form.session_rikey = agent.cookies....
2011 Mar 27
2
LinkedIn still not working?
...eout = 60
agent.max_history = 1 # Prevent excessive memory usage
agent.user_agent_alias = ''Mac Safari''
page = agent.get(https://www.linkedin.com/secure/login?trk=hb_signin)
form = page.form(''login'')
form.session_key = USERNAME
form.session_password = PASSWORD
new_page = form.click_button
Any help would be appreciated.
Lonny Eachus
============
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/mechanize-users/attachments/20110327/f3233d73/attachment.html>