← All projects

capturePageState

Hydrus · Updated March 2020

Get screenshot of page + HAR log + Console logs all from one convenient Chrome Extension

Capture Page State

Get HAR logs, console logs, and screenshot to provide as much context as possible when reporting issues to developers. You can drop the HAR log file into the Network panel of any Chrome Dev Tools Window, and it will populate it.

Demo

Capture Page State Demo You need to have Chrome Dev Tools open for HAR log only.

Usage Instructions

This Chrome Extension is not published to the Chrome Web Store, you need to install it in developer mode. You can find those instructions here

  1. Click on Extension Icon
  2. Select what you want to capture
    1. Screenshot
    2. Console Logs
    3. HAR log
      1. Chrome Dev Tools needs to be open to get HAR log
  3. Click on Get Snapshot
    1. The items selected will now be downloaded, 1 file per item

Development

  1. Clone this repository.
  2. Open up Chrome and go to the chrome://extensions/ page (Window → Extensions).
  3. Enable developer mode (if it's not already).
  4. Click on Load unpacked extension.
  5. Select the folder for this extension.

Specifications

What I Learned

Keyboard Shortcut

Go to the bottom of the chrome://extensions/ page, click on Keyboard shortcuts and add the shortcut of your choice.

Credits