How to open HTML page in a browser with specific options selected in drop-down boxes?
The task that I have is from Perl script to open HTML page in a browser with specific options selected in drop-down boxes and edit fields using POST method.
The good example of such a page would be http://stockcharts.com/h-sc/ui. So if I do that manually:
I open the link in a browser,
type Symbol: $COMPQ,
select Chart Attributes\Range: 3 Month,
select Overlays\first row\first column: Exp Mov. Avg,
type Overlays\first row\second column: 5,
click on Update button.
The page gets updated according with the specified parameters.
So how can I get the same result using Perl?
I tried to search for the solution, but haven’t found anything directly related to my problem. So please point me to the source if the answer already exists somewhere else.