Path: | History.txt |
Last Update: | Mon Sep 08 19:29:17 +0000 2008 |
http://rubyforge.org/tracker/index.php?func=detail&aid=6571&group_id=1453&atid=5712
agent.pluggable_parser.html = WWW::Mechanize::REXMLPage
form['name'] = "Aaron"
Or to get the value of a field named ‘name’, do this:
puts form['name']
agent.click page.links.first agent.click page.links
@agent.links(:text => 'foo')
should be changed to this:
@agent.links.text('foo')
form.set_fields( :foo => 'bar', :name => 'Aaron' )