Can I DevTools?
Other
Edit

Use console.screenshot() to capture the screenshot of the viewport.