User Agents

Web browsers and everyday web tech, explained

How to Capture a Full Localhost Web Page in Firefox on Windows

· 6 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

This guide shows you how to capture a complete, full-length screenshot of a web page running on your localhost (like a local development server) using Firefox on Windows. You’ll be able to save the entire page—from top to bottom—as a single PNG or JPEG image, which is useful for documentation, bug reports, or sharing your work. You only need Firefox and the page you want to capture.

What You'll Need

  • Firefox browser (any recent version) installed on Windows.
  • Your local web page running (e.g., at http://localhost:3000 or http://127.0.0.1:8080).
  • No extra software or extensions required—Firefox's built-in screenshot tool does the job.

Step-by-Step

  1. Open your localhost page in Firefox. Navigate to the URL where your site is running (e.g., http://localhost:3000). Make sure the page loads fully.
  2. Open the screenshot tool. Right-click anywhere on the page (not on an image or link) and select Take Screenshot from the context menu. Alternatively, press Ctrl+Shift+S on your keyboard to open the screenshot interface directly.
  3. Choose the full-page capture option. When the screenshot overlay appears, you’ll see a toolbar at the top with options like “Save full page,” “Save visible,” and a dropdown for selecting a specific area. Click the “Save full page” button—it looks like a rectangle with a downward arrow, or it may be labeled “Full page.” This automatically captures the entire scrollable content of the page.
  4. Wait for the capture to finish. Firefox will scroll through the page automatically to stitch together the full screenshot. This may take a few seconds, especially on long pages. Do not click or scroll during this time.
  5. Save the screenshot. Once the capture is complete, a preview will appear. You can click Download to save it as a PNG file, or Copy to paste it into another application. If you choose Download, Firefox will save the file to your default Downloads folder with a name like “Screenshot (date).png.”
  6. Verify the file. Open the saved image to confirm it contains the entire page, including any content that was below the fold. If it looks cut off, see the Troubleshooting section below.

Common Mistakes

  • Using the wrong shortcut: Pressing Ctrl+Shift+S is correct, but some users accidentally press Ctrl+Alt+S (which opens the Web Console) or F12 (Developer Tools). Double-check your key combination.
  • Selecting “Save visible” instead of “Save full page”: The visible option only captures what’s on your screen at that moment. Make sure you click the full-page button, not the visible one.
  • Interrupting the capture: Clicking, scrolling, or switching tabs while Firefox is stitching the full page can cause the screenshot to be incomplete or fail.
  • Taking a screenshot before the page finishes loading: If images or fonts are still loading, they may appear blank in the capture. Wait for the page to be fully loaded (look for the loading spinner to stop).

Tips

  • Use a consistent viewport: For reproducible screenshots, set your browser window to a standard size (e.g., 1280×800) before capturing. This makes the full-page image dimensions predictable.
  • Disable dynamic elements: If your page has animations, carousels, or infinite scrolling, consider pausing them or using a static version of the page to avoid layout shifts during capture.
  • Check the image format: Firefox saves full-page screenshots as PNG by default, which is lossless and good for text-heavy pages. If you need a JPEG, you can convert it after saving.
  • Use the developer tools for more control: If you need to capture a specific element or a custom viewport, you can open Developer Tools (F12), click the responsive design mode icon (a small phone/tablet icon), set the dimensions, and then use the screenshot tool within that mode.

Troubleshooting

The “Save full page” button is grayed out or not working. This can happen if the page has complex CSS or if Firefox’s screenshot tool is having trouble with the page. Try refreshing the page (F5) and then using the shortcut again. If it still fails, restart Firefox and try again.

The screenshot is cut off at the bottom. This usually means the page uses infinite scrolling or lazy loading—content loads only as you scroll, so Firefox can’t capture it all at once. Manually scroll to the bottom of the page first, then press Ctrl+Shift+S and select “Save full page” again. If that doesn’t work, consider using a browser extension like “FireShot” or “Nimbus Screenshot” (though the built-in tool should handle most cases).

The screenshot is blank or all white. This may happen if the page uses WebGL or canvas elements that don’t render in the capture. Try using the “Save visible” option to see if that works; if it does, the issue is specific to full-page capture. You can also try disabling hardware acceleration in Firefox settings (Options → General → Performance → uncheck “Use recommended performance settings” and then uncheck “Use hardware acceleration when available”), then restart Firefox and try again.

The screenshot is blurry or low-resolution. Firefox captures at the current zoom level. If you need a higher-resolution image, zoom in (Ctrl++) before capturing, but note that this may make the full page wider than the screen, which could cause horizontal cropping. Alternatively, increase your Windows display scaling temporarily, or use a higher screen resolution.

Frequently Asked Questions

Can I capture a full page on a localhost URL that requires a login?

Yes. As long as you are logged in and the page is loaded in Firefox, the screenshot tool will capture what you see. The tool does not bypass authentication; it just captures the rendered page.

Does this work on any localhost port (e.g., 3000, 8080)?

Yes, the port number doesn’t matter. As long as the page is accessible in Firefox, you can capture it.

Can I capture a full page that has a fixed header or footer?

Yes, fixed elements will appear in the screenshot, but they may be repeated in each “section” of the stitched image, or they may be cut off. Firefox’s tool handles this reasonably well, but if you see duplicates, try using the “Save visible” option and manually stitching screenshots, or use an extension.

Is there a way to capture a full page as a PDF instead of an image?

Yes, but not directly with the screenshot tool. You can use Ctrl+P to open the print dialog, choose “Save as PDF” as the destination, and set the scale to “Fit to page width” or “100%” to get a multi-page PDF. This is a different method but works for full-page documentation.

Will the screenshot include scrollbars or other browser UI?

No, the screenshot tool captures only the web page content, not the browser chrome (toolbars, scrollbars, etc.). The full-page capture will not show scrollbars.

Can I capture a full page on a page that uses infinite scroll (like a social feed)?

The built-in tool may not capture all dynamically loaded content. You can try scrolling to the bottom first, but for infinite scroll pages, it’s often easier to use a dedicated extension like “FireShot” that can handle dynamic content better.