Search code examples
catalystbyzohozohocatalyst

How do I take a screenshot of a publicly accessible webpage using Catalyst Smartbrowz?


I have a webpage that can be accessed publicly but I need to take screenshot of that page to display it as preview to my webpage to redirect to users. I heard Catalyst Smartbrowz can help with it, can someone guide me on how it can be done?


Solution

  • Catalyst Smartbrowz does offer support for taking screenshots of publicly accesible webpage using their PDF and Screenshot tool . You can find the official documentation for the same here.

    You can dynamically feed the webpage URL from your Catalyst function and take a screenshot of the webpage and send the image file as response back to the web client to show it as a preview. You can use the PDF & Screenshot takeScreenshot() SDK for the same. You can find the official Node SDK documentation for the same here.