4 Replies
Puppeteer or Playwright they both have methods of
So basically use any of the 2 then visit the page using there headless flag
Then use the screenshot method and then save it and then you can upload it to s3 or and link it to the user so avoid space wasted nd unnecessary calls so after a new deployment you run the process again and put a fresh image
Screenshots | Playwright
Here is a quick way to capture a screenshot and save it into a file:
Page.screenshot() method | Puppeteer
Captures screenshot of the current page.
awesome ill try that
ty