How to take screenshot while highlighting an element

I want to take screenshot of a web page and want to highlight a particular element in it.
How to achieve this?

I tried with parallel activity. I used take screenshot and highlight in parallel activity but sometimes it is working together and sometimes it is just taking the screenshot.

Your use of Parallel activities is correct - it just needs a little modification! For the highlight activity, give a timeout of 3 seconds (3000 milliseconds) and for the screenshot activity, in the WaitBefore property give value 1 second (1000 milliseconds). This way, the bot will wait for the element to get highlighted before it takes the screenshot! Of course, you can modify those values to suit your own process. Please mark this as a solution if it works.
Hope this helps!

1 Like


As you place inside parallel, so you have to maintain a delay, so that this will run as required

Hope this helps