Hello,
Is there a way to select and save a specific image on a page, programatically ?
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Save image ?
- salvadordf
- Posts: 4580
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Save image ?
Hi,
Search the image in the DOM using JavaScript and send its URL to Delphi using a console message or using a JavaScript extension.
Then use TChromium.DownloadImage or TChromium.StartDownload to save it on disk.
Search the image in the DOM using JavaScript and send its URL to Delphi using a console message or using a JavaScript extension.
Then use TChromium.DownloadImage or TChromium.StartDownload to save it on disk.