Need to get all images from the webpage and save them on my pc


#1

Hi, could u help me please

I need to get all images from the page and save them on my pc
I have xpath like $x("//div/div/img")
All links on images are saved in img element ->src attribute

I created web element and chose option get value - //div/div/img -> use element attribute :src and save it in the list variable.
Then I created variable counter, cos I can get each element by adding //div[$(counter)]/div/img
then I created for-each loop
where first step is : expression value where variable counter +1
What should I do next?
or how to do it?


#2