Displaying 1 result from an estimated 1 matches for "bill_period_form".
2009 Mar 11
0
problem scrapping ATnT site (Matt White)
...in stead of downloading the actual CSV file.
>
> # get the download page
>
> page_download = agent.get "
> https://www.wireless.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.
>
> downl...