i'm trying to save an image from a website using selenium server & python client.
i know the image's URL, but i can't find the code to save it, either when it's the the document itself, or when it's embedded in  the current browser session.
the workaround i found so far is to save the page's screenshot (there are 2 selenium methods for doing just that), but i want the original image.
i don't mind fiddling with the clicking menu options etc. but i couldn't found how.
thanks
To do this the way you want (to actually capture the content sent down to the browser) you'd need to modify Selenium RC's proxy code (see ProxyHandler.java) and store the files locally on the disk in parallel to sending the response back to the browser.
save an image with selenium & firefox