I managed to did it using ‘Find Children’ and then looping in it with another ‘Find Children’. it’s look totally horrible, I would like to actually find all the images directly, using a css-selector and then save them 1 by 1.
@MaxyArthes You could use Inject JS Script activity to do this.
// JavaScript Function
function getImageUrls() {
var imageClasses = document.getElementsByClassName('viewAllPhotosRelative');
var imageUrls = [];
for (var index = 0; index < imageClasses.length; index++) {
var element = imageClasses[index].getElementsByTagName('img')[0];
imageUrls.push(element.getAttribute('src'));
}
return imageUrls;
}
Use Inject JS Script activity with the above code. You can get all the image URLs in a comma separated string and use string activities to get individual image URL.
Message: Cannot find the UI element corresponding to this selector: < html title=‘Damaged Car Auction*’ />< webctrl css-selector=‘html>body’ id=‘mainBody’ tag=‘BODY’ />
Tried that too and I’m getting this error if I play with the selector, tried to select a part of the page and the whole browser too, both had the same result =/