Can I DevTools?
Console
Edit
  1. Use console.screenshot() to capture the screenshot of the viewport. Alternatively, pass the target node to the function to capture screenshot of a specific node.