TechBuzzPro

How to Test Responsive Screenshots at 390px Wide

· 5 min read · Apps & Browsers

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

Testing your website at 390 pixels wide is essential because that is the standard viewport width for the iPhone 12 through iPhone 15 series, which represents a huge share of mobile traffic. By taking screenshots at this exact width, you can catch layout issues like horizontal scrolling, overlapping text, or unreadable font sizes before your users do. This guide walks you through the process using browser developer tools and a few simple techniques, no extra software required.

What You'll Need

  • A modern web browser (Chrome, Firefox, Edge, or Safari) with built-in developer tools.
  • Your website or web app running locally or on a test server.
  • A way to save images (your computer's screenshot tool or the browser's own screenshot feature).

Step-by-Step

  1. Open Developer Tools – In Chrome, Edge, or Firefox, right-click anywhere on your page and select "Inspect" (or press F12). In Safari, first enable the Develop menu in Safari > Settings > Advanced, then right-click and choose "Inspect Element."
  2. Switch to Device Toolbar – In Chrome/Edge, click the device icon (a rectangle with a phone outline) in the top-left of DevTools, or press Ctrl+Shift+M (Windows) / Cmd+Shift+M (Mac). In Firefox, click the responsive design icon (two overlapping rectangles) in the top-right. In Safari, click the "Toggle Responsive Design Mode" icon in the toolbar.
  3. Set the viewport to 390px – In the device toolbar, you'll see a width and height field. Enter 390 in the width field. The height can be anything (like 844) but width is what matters for this test. If you see a device dropdown, you can also select "iPhone 12 Pro" or similar, which typically defaults to 390px.
  4. Reload the page – Press Ctrl+R (Windows) or Cmd+R (Mac) to reload the page at the new width. This ensures all CSS media queries and JavaScript respond correctly to the viewport size.
  5. Take the screenshot – In Chrome/Edge, click the three-dot menu in the device toolbar and choose "Capture screenshot" to save a full-page screenshot, or "Capture area screenshot" to drag a selection. In Firefox, right-click the page and select "Take a Screenshot" (you can choose visible area or full page). In Safari, use the built-in screenshot tool (Cmd+Shift+3 for full screen, Cmd+Shift+4 for a selection).
  6. Name and save the file – Give the screenshot a descriptive name like homepage-390.png and save it to a folder dedicated to responsive testing.
  7. Repeat for key pages – Test your homepage, product pages, checkout, blog posts, and any other important templates. It's common to find that one page breaks while others are fine.

Common Mistakes

  • Forgetting to reload – If you don't reload after changing the width, you might be looking at a resized desktop layout, not the mobile layout.
  • Using the wrong width – Some devices have a 390px CSS width, but others use 375px (older iPhones) or 360px (many Android phones). Make sure you're testing the exact width you need.
  • Ignoring the height – While width is the main factor, a very short viewport (like 300px height) can cause different issues. Keep height reasonable (around 800px) unless you're testing a specific scenario.
  • Not testing with the device toolbar's network throttling – Screenshots don't capture performance, but if you're also checking load times, remember to simulate a slow connection.

Tips

  • Use full-page screenshots – A full-page capture lets you see the entire layout, not just the first screen. This helps spot footer issues or missing content.
  • Check for horizontal scroll – After taking the screenshot, manually scroll left and right in the device toolbar. If you can scroll sideways, something is too wide.
  • Test in multiple browsers – Chrome and Firefox may render the same page slightly differently. At least test in Chrome and Safari if you have a Mac.
  • Use a bookmarklet or extension – Tools like "Window Resizer" can quickly set the viewport to common sizes, but the built-in DevTools method is enough for most cases.
  • Keep a screenshot log – Save screenshots with date and version info so you can compare before/after changes.

Troubleshooting

  • Viewport won't set to exactly 390px – Sometimes the device toolbar snaps to preset sizes. In Chrome, click the dropdown that says "Responsive" and select "Edit" to add a custom size. Or simply type 390 in the width field and press Enter.
  • Screenshot is blurry or low-res – Ensure your browser zoom is set to 100% (Ctrl+0 or Cmd+0). Also, if you're on a high-DPI display, the screenshot may appear pixelated when zoomed in; that's normal.
  • The page looks fine in DevTools but broken on a real phone – This can happen if your CSS uses physical pixels or if the device's browser has different default styles. Test on a real device or use a cloud device lab like BrowserStack for final verification.
  • Full-page screenshot is missing content – Some browsers may not capture lazy-loaded images or infinite scroll content. Try scrolling manually and taking multiple screenshots, or use a dedicated tool like FireShot (browser extension) that can handle dynamic content.
  • Can't find the screenshot file – In Chrome, screenshots are saved to your Downloads folder by default. In Firefox, you'll be prompted to choose a location. If you used the OS screenshot tool, check your Desktop or Screenshots folder.

Frequently Asked Questions

Why 390px specifically?

390px is the CSS viewport width of iPhone 12 through iPhone 15 models, which are among the most popular phones globally. Testing at this width ensures your site looks good for a large portion of mobile users.

Do I need a real iPhone to test?

No, the browser's device toolbar simulates the viewport and rendering engine accurately enough for layout testing. However, for final QA, testing on a real device is recommended because of differences in fonts and touch behavior.

Can I automate these screenshots?

Yes, you can use tools like Puppeteer (Node.js) or Playwright to script viewport resizing and screenshot capture. This is useful for continuous integration testing.

What if my site uses a fixed-width layout?

If your site has a fixed width (e.g., 1200px), it will likely cause horizontal scrolling at 390px. You'll need to add responsive CSS media queries to make it fluid or use a mobile-first approach.

Should I also test at 375px and 360px?

Yes, it's good practice to test at multiple widths. 375px covers older iPhones, and 360px covers many Android devices. But 390px is a good starting point for modern iPhones.

How do I check if my page has horizontal scroll?

In the device toolbar, try scrolling right with your mouse or trackpad. If you can scroll horizontally, there's an overflow issue. You can also open the console and run document.documentElement.scrollWidth – if it's greater than 390, something is too wide.