Download button - how to get file with mechanize

hi,

i’m having problems to access the content of a (csv-)file behind a
download-button inside a form:

... ...

any idea how to read or download the file?
form.click_button(form.button_with(‘ctl00$cphContent
$btnDownload’)).body
apparently yields the first line of the file?!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs