How to get img src attribute from web page?

@Kalees9486
Have a look here. Just adjust Url and ExportDir as by your environment and let it run
ImageLoader.xaml (6.6 KB)

1 Like

Hi @ppr

Thanks for your guidance. Here we gave the URL of the image. But what we need is, we have to give the website URL. Based on the website URL,we need to store the logo images to the local folder then extract the image details like color, resolution, etc.,

Then you will Catch with Find children all Images, readout the SRC Attribute (as mentioned above) and Download the Image as done with the snippet from above

Not getting those attributes from this selectors also suggest how to use this find children output variable. I have attached the screenshot for your reference,

Hello Dear ,

You Can just injectJs to get “src” attribute

suppose, there is an image with “img” Id,
then the js file will be

v

ar image = document.getElementById("img").src;
return image;

then use a variable to get the output value … very simple is not it

get this problem
Inject Js Script ‘IMG’: TypeError: Cannot read properties of null (reading ‘src’)
Please make a youtube step by step