Hi
I am trying to automate collecting balances from my bank using
Mechanize.
I have set
#!/usr/bin/env ruby
require ‘rubygems’
require ‘mechanize’
require ‘pp’
username = “*****”
password = “****”
site_url = “https://online.compassweb.com/servlet/compass/login.jsp”
agent = WWW::Mechanize.new
page = agent.get(site_url)
form = page.forms.first
form.fields.name(“UserName”).value = username
form.fields.name(“Password”).value = password
page = agent.submit(form, form.buttons.first)
The page I get back has the following in it:
Can someone tell me what the process is for retrieving pages like
this are?
Thanks
Jim F.