Displaying 2 results from an estimated 2 matches for "selectform".
Did you mean:
select_form
2008 Jan 15
1
Converting Watir script to Mechanize
...age(:src, ''http://cpref.gsm.com/images/plus_yellow.gif'').click
ie.text_field(:name, ''inter_string'').set(''Lasix'')
ie.button(:id, ''image1'').click
ie.link(:text, /Lasix/).click
ie.link(:url, ''javascript:document.selectForm.submit()'').click
end
I started working on the Mechanize script but it is throw the following error:
c:/ruby/lib/ruby/gems/1.8/gems/mechanize-0.6.11/lib/mechanize/form.rb:302:in
`method_missing'': undefined method `inter_string='' for
#<WWW::Mechanize::Form:0x33653c8>...
2008 Apr 29
6
Intercepting an onClick file download
Hi,
I''m having some trouble downloading a .csv file from a particular
website. The file isn''t part of a url, you need to click on a link in
order to get the file sent. I don''t know how to get mechanize to
correctly identify that.
Here is the link to the file I''m trying to retrieve:
<td style="vertical-align: bottom; text-align: center;">