in reply to Re^17: Need help with WWW::Mechanize and Chrome cookies
in thread Need help with WWW::Mechanize and Chrome cookies

Your problem statement seems to continously change. I don't see/understand how you can get from "image download using its URL" to "image displayed using Javascript" without changing the problem entirely.

Maybe you can come up with a small, self-contained program that reproduces your problem, and also shows the response you receive and also tell us what parts you have already investigated, instead of letting us guess. That way, we can more easily reproduce what you see and maybe suggest better approaches.

If an image gets created using Javascript, you will have to fetch the image data from the browser memory, most likely by using some Javascript to fetch that image data. You can run arbitrary Javascript on a page using ->evaluate_in_page.