ruby on rails - Programmatically interact w/ a webpage? -


is there way through ruby or command line can choose value drop-down box on webpage , press submit button?

i want download html of webpage, every version of it, changes based on values selected box.

if helps, on source of page of values in box listed option tags inside select tag below.

<select name="subj_code"> <option value="%">all subjects <option value="aaec" selected>aaec - agricultural , applied economics  

(aaec selected value drop-down, indicated selected option inside tag)

any way select different value, tell site, , reload page via code?

thanks

take @ mechanise. it's gem interact web pages should on issue.


Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -