How to take screenshot of whole page of a web page

activities

#1

Hi everyone,

I am a beginner in UIPath.
Now I meet a problem with taking a screenshot of the whole page of a web page.
The problem is the web page is too long, and beyond the screen size. So, I cannot capture the whole page with “take screenshot” activity in one time.
I am searching on the internet but there is no useful result.
I wonder if there is any way to capture entire the web page that needs to be scrolled down to appear visible.
if you know any solution for this problem, please let me know.
Sorry for my bad English.

Thanks and best regards,
Hoang Anh.


I want to take screenshot the whole entire web page at present available?
#2

Hi @anhth15,

You may try to find out some plugins. For example, in Google Chrome you have this one:

Result:


#3

@acaciomelo that’s actually pretty cool :slight_smile: learned something new today :slight_smile:
I was thinking more of a print to pdf route, but this is straight to the point.


Enhanced TakeScreenShot Activity
#4

Hi @acaciomelo,

Really great, I used just alt+shift+p shortcut after adding the extension to the chrome.
This is how whole page screen shot?
Learned new thing, thank you so much.

Thanks,
Girish


#5

Hi @acaciomelo,

I installed the plugin that you mentioned. But I don’t know what to do next.
Could you show me in detail how to make a workflow in uipath studio to take a screenshot of the whole page, and save that image into a particular folder.

Thank you so much for your help.
Hoang Anh.


#6

Hi @anhth15,

I could do that, but I prefer to let this little challenge for you to solve :slight_smile:

Please don’t get me wrong, it will be better for you, I mean, learning with some practice.

In addition, there are a lot of examples and links at this forum.


#7

Hi @acaciomelo,

I understand your good intention.
I will try my best to solve this problem.
But I think it will be faster for me to do that if you can give me some suggestions.

Thank you again for your quick reply.
Hoang Anh.


#8

@anhth15
Just use that plugin. If you go to that plugin setting of chrome browser then you can see where the screen shot is saving and how can you configure a shortcut key. Once you configure then use send hot key command from UiPath on google chrome browser to enable screenshot.

Hope my inputs helps


#9

Hi @rkelchuri,

Thank you so much for your solution.
It’s really useful for me. But there is still one problem for me.
That is I want to dynamically set the output folder in workflow of uipath studio where the image is saved to.
Do you have any idea to do this?

Thank you so much for your help,
Hoang Anh.


#10

Please use create folder feature from activities


#11

@anhth15


#12

hi @rkelchuri

I’m really appreciate for your help.
But I think you misunderstood my question.
I mean after I take a screenshot using that plugin, how can I save the screenshot image into a specific folder dynamically using workflow in uipath?

Thanks you so much,
Hoang Anh.


#13

@anhth15

please find following screenshot.
image

if you use Alt+Shit+P command from your keyboard the screen capturing will automatically open in the new google chrome page title=“Screen Capture Result”.
In the Screen Capture Result page you have following option called download image.
image.
Once you click this option by using UiPath then you will see save as dialog with random file name as follows:

This number is random number. so if you have any default location to save with your own file name… then pass that full path (C:\folder1\folder2\folder3\filename.png) in this save as dialog and click on save button by using UiPath.

loop the same further as many times as you want…

Hope my inputs are useful.


#14

Hi @rkelchuri, @acaciomelo

Thank you so much for your detail answer.
Now I understand your solution clearly.
I will do it and I believe it will work for my case for sure :).

Now, I am thinking about another solution for my case and I would like to ask for advice from you.
My second solution is to create a custom activity and I will take a screenshot, save to a desired folder using C# code in that custom activity.
How do you think about this solution?

Thank you again for your help,
I really appreciate for that.
Hoang Anh.


#15

Yea that also works


#16

Thank you so much.


#17

I am using HP Laptop that provide “prt sc” key which helps to take screenshot the whole screen with single key-press.

Thanks for alternate solutions for the same.


#18

May i know which key your passing in sendhotkey?


#19

Hi @anhth15

Google chrome provides Screenshot capturing extension called Nimbus. If you add that you will get to know everything. And there are lot of capturing options available in Nimbus.

Hope this helps you, Thanks.

MadisonQuinn


#20

Thanks for your useful information.