Skip to content

Instantly share code, notes, and snippets.

@theredpea
Created December 4, 2024 02:20
Show Gist options
  • Save theredpea/45a09bb9468d5ce4418324b7136fe012 to your computer and use it in GitHub Desktop.
Save theredpea/45a09bb9468d5ce4418324b7136fe012 to your computer and use it in GitHub Desktop.

I use the screenshot command, it's not Javascript but it works for me. Documented here and here

Then, press Ctrl + Shift P (PC) or Command + Shift P (Mac) or click the three-dot menu for "Customize And Control DevTools" and select Run Command. Type "screenshot" to see the screenshot options, which are:

  • Capture area screenshot
  • Capture full size screenshot
  • Capture node screenshot
  • Capture screenshot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment