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

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -