I really need your help.
I created a bot that scrapes data from our companies employees accounts that are listed in our intranet.
In order to that the bot gets text data which works fine.
I also have to get an image of each employee which is on top of each employees page. But this doesn’t work!
The image is always at the same position of the website. I use a take screenshot activity followed by save image…
Accordingly I used a wildcard in the selector to make it dynamically. It works only for my account to get the image.
The selector normally looks as follows:
I changed it into
Hope you can help me. Thanks in advance
Welcome to the Community!
Could you show your process?
Welcome to forum
U can try the below logic to take screenshots of image
Use take screenshots activitiy and inside e
It use css selector of the image only
That u can get from right click the webpage and selecting Inspect Element option.
By this screenshot of that particular image will only be done and u can make it dynamic according to employee name
Hope the idea helps you
scrap the image source url with a get attribute activity and using the src attribute
Download the image by its url
Image downloading by url can be done by several approaches. Have a look here on one option:
I analyzed your scenario and observed following:
A loaded product page has the icons and only the first Image information available
once hovering over all icons the other image information is post loaded and available as well
A look into the pagestructure:
Image infos after hovering:
So the retrieval process could be organized as following:
hover over all icons
retrieve the urls
download the images by url info
for dynamizing a selector have a look here:
This tutorial will teach you how to easily use variables in your selectors. In other words, we will be making dynamic selectors without the use of the old method of concatenating strings. How cool is that!
For the purpose of this tutorial, I will make 1 click in the Notepad app.
Feel free to also reference our documentation here.
1. First, we will indicate the element we want to click on. In this case, it will be File menu in Notepad:
This results in the…
thanks for all your Replies and help:) Especially yours @ppr
Seems like due to your help I made it
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.