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

Hi Team

I want to take entire page as screenshot

My web page should be having the scroll bar so i need to cover the entire page through in that screen shot how it is possible

can anyone help me to solve this !!!

1 Like

Hi,

Check here,

Hi @sarathi125

in that they mention for chrome only

But i am using my logic and execute the xaml file in IE

Are you there !!

I have been working on this custom activity which captures the entire webpage. It still needs some fixes. Can you check if it works for your website.

WebScreenCapture.Activities.2.0.0.nupkg (8.2 KB)

image

image

1 Like

Hi @vvaidya

i download and i paste in my Packages Folder
see the below image :

And in UiPath while i am Searching for a “web screen capture” control cannot able to find it there ?
see the below image too : image

Did you install the package?

I Just download the above and paste in My Packages folder
see the manage package screenshot here :

Hi @vvaidya

can you able to see this post to find out the solution in that xaml file , were is the logic missing ?

what to this need any response we can able to do ?

i install and then also control cannot able to find so what to do next

Any Response i am expecting from Team

The above mentioned package is not available in the latest version. Me too looking for capturing the entire page rather than the visible area.

Hi

I have successfully captured an entire webpage using FireShot browser plugin. Its works fine on Chrome and Firefox. If you don’t have this plugin added to your browser, then you have to do it first. Pls find below the steps to capture the entire web page as an image. You can get the entire web page as a PDF file as well.
SaveWebPage_1
SaveWebPage_2

Pls find attached the code.SaveWebPage.xaml (12.5 KB)

Hello, I have recently tried your custom activity for full web page screenshot. It’s nice and simple. However, it does not capture some web sites. I am trying https://www.gsaadvantage.gov site - This is a public site. I can capture some other .gov page. what’s the root cause - why it does not work? I need this working for this page very badly. could you please advise. thanks and appreciate in advance.

I tried your’s but not working. I think the problem is switching to Chrome app page. I have tried changing it - still not working. I need this badly - I would appreciate if you look at it and post a new one.
thanks a lot.

Can you share the workflow?
Thanks.

Hey - I’m surprised to know that the activity is working. Regarding your issue, may be because the URL is being redirected, try entering the redirected URL.If
you still want to go with the activity (not with chrome extension), I think there is also a solution somewhere in the forum to get the redirected URL programmatically(using http request activity).

Attached is the latest package I have with me. Good Luck!

WebScreenCapture.Activities.2.0.1.nupkg (8.3 KB)

Great! Thanks for the updated package - I appreciate it. I will first try with this package with IE. I had never done anything with URL redirection - any information would be helpful. Once again, thanks for looking into this.

I just tried it - getting the same error - enclosed below:

19.2.0+Branch.master.Sha.21b678a4c3a8b1362fcdd6e92496f991e5a7da37

Source: Save Image

Message: Save image failed. Check if the file name is a valid path

Exception Type: UiPath.Core.ImageOperationException

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
UiPath.Core.ImageOperationException: Save image failed. Check if the file name is a valid path ----> System.NullReferenceException: Object reference not set to an instance of an object.
at UiPath.Core.Image.SaveFile(String fileName)
— End of inner ExceptionDetail stack trace —
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Here is the XAML - thanks.
Main.xaml (13.7 KB)

Few things:

  1. Looks likes you are still using old version ( I guess 2.0) .
  2. You did not provide output to the activity because of that you got above error.
  3. This activity doesn’t have to be inside open browser.
  4. Use redirected URL i.e https://www.gsaadvantage.gov/advantage/main/start_page.do

It worked - thanks a million for updating the version - I greatly appreciate it. I was able to capture the screen. My intention was to capture a search page but this site blocks it - so technically it works - not sure why it gets blocked when running through activity. Once again, thanks.