User Agents

Web browsers and everyday web tech, explained

How to Screenshot Inspect Element in Chrome and Firefox

· 5 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Taking a screenshot of content viewed in the Inspect Element tool allows you to capture what’s happening under the hood of a webpage—such as specific HTML, CSS styling, JavaScript errors, or layout issues. This is useful for debugging, reporting bugs, or sharing code problems with developers. Both Chrome and Firefox offer built-in developer tools with screenshot functionality that lets you capture not just the visible screen, but also specific elements or the entire page as seen in the DOM. This guide walks you through how to take precise screenshots from the Inspect Element panel in both browsers.

What You'll Need

  • A computer running Chrome or Firefox
  • An active internet connection to load webpages
  • The webpage you want to inspect already open in the browser
  • Basic familiarity with right-clicking and keyboard shortcuts

Step-by-Step

  1. Open the webpage you want to capture in Google Chrome or Mozilla Firefox.
  2. Right-click on the specific element you want to inspect (e.g., a button, image, or text block) and select Inspect or Inspect Element from the context menu. Alternatively, press Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac) to open the developer tools directly.
  3. In Chrome: Once the DevTools panel opens, locate the three-dot menu (⋯) in the top-right corner of the panel. Click it to reveal a dropdown.
  4. From the dropdown, hover over More Tools, then click Screenshots. A submenu will appear with four options: Capture full size screenshot, Capture area screenshot, Capture node screenshot, and Capture screenshot.
  5. To capture the entire webpage (including parts not visible on screen), choose Capture full size screenshot. Chrome will scroll the page automatically and save a complete PNG image to your default downloads folder.
  6. To capture only the currently visible viewport, select Capture screenshot.
  7. To capture a specific HTML element currently selected in the Elements panel, ensure the element is highlighted in the DOM tree, then choose Capture node screenshot. This is ideal for grabbing buttons, menus, or styled components exactly as they appear.
  8. In Firefox: After opening the Inspector (via right-click > Inspect Element), click the screenshot button at the top of the developer tools toolbar. It looks like a camera icon.
  9. A dropdown will appear with options: Screenshot Node, Screenshot Area, Screenshot Full Page, and Screenshot Visible Portion.
  10. To capture the selected element in the HTML pane, make sure it's highlighted, then click Screenshot Node. Firefox will save an image of just that element, including padding and borders, to your downloads folder.
  11. For a full-page screenshot, choose Screenshot Full Page. For only what’s visible, pick Screenshot Visible Portion.
  12. After taking the screenshot, check your Downloads folder. The file will be saved as a PNG with a timestamped filename unless you’re using a custom naming tool.

Common Mistakes

  • Not selecting the correct element: If you intend to capture a specific node, ensure it’s highlighted in the Elements/Inspector panel before choosing “Capture node screenshot” or “Screenshot Node.” Otherwise, you may capture an unintended element.
  • Confusing viewport with full page: Choosing “Capture screenshot” in Chrome or “Screenshot Visible Portion” in Firefox only captures what’s currently visible. For long pages, use the “full size” or “full page” option instead.
  • Missing the screenshot button in Firefox: The camera icon may not be visible if the toolbar is collapsed. Click the ⋯ menu in the DevTools toolbar and ensure “Take a screenshot” is checked to display the icon.
  • Forgetting to open DevTools: The screenshot options are only available once the developer tools are open. Right-clicking and inspecting is the fastest way to trigger this.

Tips

  • Use keyboard shortcuts: Press Ctrl+Shift+P (Cmd+Shift+P on Mac) in Chrome DevTools to open the Command Menu. Type “screenshot” to quickly access all capture options without navigating menus.
  • Capture dynamic states: You can take screenshots of dropdowns, hover states, or modals by triggering them first, then using Inspect Element to freeze the state before capturing.
  • Check file size: Full-page screenshots of long websites can be large. Consider cropping or compressing if sharing via email or ticketing systems.
  • Verify styles are applied: If a captured element looks different than expected, check the Styles pane in DevTools to ensure no conflicting CSS rules are affecting its appearance.
  • Use in responsive design testing: Resize the browser window to a mobile size, then take a node or full-page screenshot to document how elements render on smaller screens.

Troubleshooting

  • Screenshot option not appearing: In Chrome, ensure you’re using the latest version. Older versions may not have the Screenshots menu under More Tools. Update Chrome via Settings > About Chrome. In Firefox, check that the camera icon is enabled in the DevTools toolbar customization menu.
  • Blank or black screenshot: This can happen with WebGL canvases or videos. Some content types are not fully captured. Try capturing the surrounding container instead.
  • Element not fully visible in node capture: If padding, margins, or overflow settings are hiding parts of the element, adjust the CSS temporarily in the Styles pane to expose it, then capture.
  • Screenshot fails to save: Check your browser’s download settings. If downloads are blocked or redirected, allow them temporarily. Also ensure you have disk space available.
  • Blurry or low-quality image: Developer tool screenshots are high-resolution by default. If quality is poor, avoid upscaling; instead, capture at 100% zoom level and avoid browser zoom settings above 100%.

Frequently Asked Questions

Can I screenshot only part of a webpage using Inspect Element?

Yes. In both browsers, use “Capture area screenshot” in Chrome or “Screenshot Area” in Firefox to drag and select a custom region after initiating the tool.

Where are the screenshots saved?

By default, screenshots are saved to your computer’s Downloads folder with an auto-generated name including the page title and timestamp.

Can I edit the screenshot after capturing it?

The browser saves a static PNG file. You can edit it using any image editor like Paint, Photoshop, or online tools after downloading.

Does screenshotting via Inspect Element capture hidden elements?

No. Only elements rendered on the page are captured. Hidden elements (display: none) or off-screen content not in the DOM viewport won’t appear unless made visible first.

Can I take a screenshot of the console or network tab?

Yes, but not through the node capture tools. Use the standard “Capture screenshot” option or your system’s screen capture (like Snipping Tool or Cmd+Shift+4) for DevTools panels themselves.

Is this method safe and allowed on all websites?

Yes. Taking screenshots via Inspect Element is a standard browser feature and does not violate website terms unless you’re capturing sensitive data or copyrighted material for redistribution.