Hello,
How to save pictures to disk from html page source? I use Selenium web driver to navigate through pages.
1.PNG
Sometimes there will be only one picture, sometimes more, but they will always be in this id="ctl00_pagecontext_articleimagecontrol1_PanelThumbs" div, past "href=".HTML Code:
First picture url structure will be always like this "/partscatalogue/docloader.ashx?doc=....................", others: "/Handlers/ArticleImage.ashx?id=............"
Link prefix is "http://site.com"
I want pictures to be saved to disk directory using names from url:
30_09_0001_1.JPG ("+" changed to "_")
3-104509-1.jpg
3-104509-3.jpg
3-104509-2.jpg
I would also like to write to excel column cell the directories of the saved pictures, separated by comma. f.e C:\directory\30_09_0001_1.JPG, C:\directory\3-104509-1.jpg, ...............
If this is to much questions, give me some guides ore implementations of some parts. Thank you very much
Bookmarks