Displaying 1 result from an estimated 1 matches for "download_format_form".
2009 Mar 11
0
problem scrapping ATnT site (Matt White)
...ireless.att.com/view/billPayDownloadDetail.doview?execdownloadPage=true
> "
>
> # get the form for bill_period and select a bill period
>
> bill_period_form = page_download.forms[2]
> bill_period_form.field.options[2].select
>
> # click on the csv radio button
>
> download_format_form = page_download.forms[3]
> download_format_form.radiobuttons[1].click
>
> # click on the submit link that downloads the csv file.
>
> download_file = agent.click download_page.search("a")[41]
> download_file.save_as("<path_to_file>.csv")
>
> The pr...