User Agents

Web browsers and everyday web tech, explained

Full Page Screenshots for Testing: Step-by-Step

· 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

Capturing a full-page screenshot of a browser-based desktop app lets you see the entire rendered page—including content below the fold—in one image. This is essential for visual regression testing, documenting UI bugs, or reviewing layout issues. You can do this without any paid tools, using built-in browser developer tools or free extensions. Here’s how to get it done reliably.

What You'll Need

  • A desktop browser: Chrome, Edge, Firefox, or Safari (latest version recommended).
  • Access to the web page or app you want to capture (login credentials if needed).
  • Optional: a free browser extension like “Full Page Screen Capture” (Chrome) or “Fireshot” (Firefox) if you prefer a one-click method.

Step-by-Step

  1. Open the page in your browser. Navigate to the exact URL or state you want to capture. Make sure any dynamic content (e.g., lazy-loaded images, infinite scroll) is fully loaded by scrolling to the bottom and back to the top.
  2. Open Developer Tools. Press F12 or Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac). This opens the DevTools panel.
  3. Open the command menu. In DevTools, press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac). This opens the “Run command” palette.
  4. Type “screenshot” in the command menu. You’ll see a list of commands. Look for “Capture full size screenshot” (Chrome/Edge) or “Screenshot: full page” (Firefox).
  5. Select the full-page command. Click it or press Enter. The browser will automatically scroll and stitch together a full-page image, then download it as a PNG file to your default downloads folder.
  6. Verify the image. Open the downloaded file to confirm it includes the entire page. If the page has fixed headers or sticky elements, they may appear multiple times in the capture—this is normal.
  7. If using an extension instead: Install the extension, navigate to your page, click the extension icon, and choose “Capture entire page” or similar. The image will open in a new tab; right-click and save it.
  8. For Safari users: Safari’s built-in DevTools don’t have a full-page capture command. Use the “Develop” menu (enable it in Preferences > Advanced) and select “Show Page Source,” then use the “Capture Screenshot” option in the toolbar—or use an extension.

Common Mistakes

  • Not waiting for lazy content. If images or data load as you scroll, the capture may miss them. Always scroll through the page manually before capturing.
  • Using the wrong command. “Capture screenshot” (without “full size”) only captures the visible viewport. Double-check you selected the full-page option.
  • Fixed elements duplicating. Sticky headers or chat widgets will appear multiple times in the capture. This is a known limitation—either accept it or temporarily hide those elements with CSS in DevTools.
  • Forgetting to close pop-ups. Modals or tooltips that appear on scroll can end up in the screenshot. Dismiss them first.
  • Using an outdated browser. Older versions may not support the full-page command. Update your browser.

Tips

  • Use a consistent viewport size. Set your browser window to a standard resolution (e.g., 1366×768) before capturing to make comparisons easier.
  • Turn on “mobile device” mode. In DevTools, click the device toolbar icon (Ctrl+Shift+M) to simulate a phone or tablet. The full-page capture works there too, which is great for responsive testing.
  • Save with descriptive names. Rename the PNG file immediately to include the page name and date, e.g., “login-page-2025-04-01.png”.
  • Use keyboard shortcuts. In Chrome, you can also press Ctrl+Shift+P and type “full” to filter faster.
  • For automated testing. If you need full-page screenshots regularly, consider using a headless browser tool like Puppeteer or Playwright—they have built-in fullPage: true options.

Troubleshooting

  • The capture is cut off at the bottom. This usually means the page didn’t finish loading. Scroll to the bottom, wait for any spinners, then scroll back up and try again.
  • The command is grayed out. Make sure you’re on the page itself, not on the DevTools panel. Click on the page first, then reopen the command menu.
  • The image is extremely large (e.g., 50,000 pixels tall). Some pages have infinite scroll or very long content. The capture will still work, but the file size may be huge. Consider using a tool that can split the image if needed.
  • Fixed elements appear multiple times. This is expected. To remove them, open DevTools, find the fixed element in the Elements panel, and add position: static to its style. Then capture.
  • Nothing downloads. Check your browser’s download settings—some browsers ask for a save location each time. Also check if a pop-up blocker is interfering.
  • Safari doesn’t have the command. Use a third-party extension or use Chrome/Firefox for this task.

Frequently Asked Questions

Can I capture a full-page screenshot on a Mac?

Yes. In Chrome or Firefox on Mac, use Cmd+Shift+P to open the command menu and select “Capture full size screenshot.” Safari requires an extension.

Will the screenshot include scrollbars?

No. The capture removes scrollbars and only includes the page content. Fixed elements like headers may still appear.

How do I capture a full page that uses infinite scroll?

You’ll need to manually scroll to the bottom to load all content, then scroll back to the top and capture. The capture will include everything loaded at that moment.

Can I get a full-page screenshot in PDF format?

Yes. In Chrome, open the command menu and select “Print to PDF.” In the print dialog, choose “Save as PDF” and set the paper size to a custom height that matches your page length.

Is there a way to automate full-page screenshots for multiple pages?

Yes. Use a script with Puppeteer (Node.js) or Playwright. Both have a fullPage: true option in their screenshot functions, allowing you to loop through URLs.

Why does my screenshot have missing images?

This usually happens if images are lazy-loaded and haven’t been scrolled into view. Scroll through the entire page before capturing to trigger loading.