I have successfully been using Win32::Ole module to browser through pages and submit forms. This time I am trying something different. I want to open the browser, fill out form, click submit, and it will show an image from that page, then get that image saved in a folder. What is a useful module for this one to use? Since I don’t know how to get the image from a page with Win32::Ole (I can get the contents if I navigate to that page, not when I submit a form and it goes to that page.)
Thanks in advance.
Use WWW::Mechanize
from the faq:
Here’s an example that retrieves and image (cats.gif) from a website and saves it to a local directory: