Open your localhost page in a browser, arrange it as you want it to appear, then press Shift-Command-4 and drag around the page area. That captures the selected visible region. Use Shift-Command-3 to capture the entire display instead. These macOS shortcuts capture what is on screen; they do not, by themselves, capture a long page below the viewport.
Capture the visible localhost page with macOS
- Start your development server with the command used by your project, then open its localhost address in Safari, Chrome, or another browser. The server command depends on your framework and project.
- Arrange the browser window and scroll the page to the state you want to show. Close unrelated windows or move them out of the capture area if needed.
- Press Shift-Command-4. When the pointer becomes a crosshair, drag a rectangle around the visible webpage area. Release to take the screenshot.
- To capture the full display instead, press Shift-Command-3. This includes everything visible on that screen, not just the browser.
macOS saves screenshots to the Desktop by default unless you change the save location. For Apple’s instructions on screenshot shortcuts and controls, see Take a screenshot on your Mac.
Choose where the screenshot is saved
Press Shift-Command-5 to open the Screenshot controls, then choose Options and a destination under Save to. Available choices can vary by macOS version. If you see a screenshot thumbnail after capturing, you can click it to open the editing controls before it disappears. Apple documents these controls in its Mac screenshot guide.
Set a specific browser viewport first
If you need a screenshot that demonstrates how the page looks at a particular screen width or pixel ratio, use the browser’s device or responsive preview before taking the macOS screenshot. These previews control the webpage’s browser viewport; you still use macOS capture controls to create the image.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Fix the driver behind crashes, sound loss and screen glitches3Repair Windows errors before they cause bigger problems#1 Best Overall
- AN AMAZING MAC AT A SURPRISING PRICE — With an incredibly portable and durable aluminum design, up to 16 hours of battery life,* and the A18 Pro chip, MacBook Neo is ready to go wherever school takes you.
- FOUR STUNNING COLORS. ONE DURABLE DESIGN — Choose from four beautiful colors — Silver, Blush, Citrus, or Indigo — each with a color-coordinated keyboard. And MacBook Neo is made with a durable recycled aluminum enclosure that helps it reach 60 percent recycled content by weight — the most ever in any Apple product.*
- FLY THROUGH EVERYDAY ASSIGNMENTS — Whether you’re cramming for finals, using Apple Intelligence* to summarize class notes, creating presentations, or even playing the latest Apple Arcade game,* MacBook Neo delivers the performance and AI capabilities you need to get things done.
- UP TO 16 HOURS OF BATTERY LIFE — MacBook Neo delivers all day battery life, so you can power through from early morning classes to late night study sessions without worrying about plugging in.
- A VIBRANT 13-INCH DISPLAY* — The gorgeous Liquid Retina display on MacBook Neo supports 1 billion colors, so photos and videos pop and text is crisp for easy reading.
Safari Responsive Design Mode
With the webpage focused, choose Develop > Enter Responsive Design Mode, or press Control-Command-R. Set the preview dimensions and display pixel ratio, then capture the visible page region using Shift-Command-4. Apple describes the mode in its Responsive Design Mode documentation.
If the Develop menu is missing, open Safari Settings with Command-comma, go to Advanced, and enable Show features for web developers. Then use Develop > Show Web Inspector or press Option-Command-I to open the inspector. You can also right-click the page and choose Inspect Element. These tools are optional for a basic screenshot. See Apple’s Safari developer tools documentation and Safari Develop menu instructions.
Rank #2
- BUILT FOR COLLEGE. AND BEYOND — MacBook Air with the M5 chip packs blazing speed and powerful AI capabilities into an incredibly portable design. And with up to 18 hours of battery life,* this thin and light powerhouse is ready to take on almost any major, just about anywhere.
- TEAR THROUGH TOUGH ASSIGNMENTS — With its faster CPU and unified memory, the M5 chip delivers even more performance and fluidity across apps, making multitasking and creative workflows smooth and responsive. A powerful Neural Engine and next-generation GPU with Neural Accelerators give you a powerful platform for AI.
- MAKE QUICK WORK OF YOUR TO-DO LIST — Apple Intelligence helps you write, express yourself, and get things done effortlessly — whether it’s for school or everyday life. With groundbreaking privacy protections, it gives you peace of mind that no one else can access your data — not even Apple.*
- UP TO 18 HOURS OF BATTERY LIFE — MacBook Air delivers incredible battery life with amazing performance, so you can power through a full day of classes without worrying about plugging in.
- A BRILLIANT 13.6-INCH DISPLAY* — The gorgeous Liquid Retina display on MacBook Air supports 1 billion colors, making photos and videos pop with rich contrast and sharp detail, and text appears supercrisp. So everything — from class presentations to movies to games — looks truly stunning.
Chrome Device Mode
In Chrome on Mac, press Command-Shift-M to toggle Device Mode, then set the preview you need. Capture the visible page with macOS screenshot controls afterward. Google’s shortcut reference verifies the Device Mode shortcut; it does not establish a full-page capture workflow. See Chrome DevTools keyboard shortcuts.
Visible-area screenshots are not full-page captures
Shift-Command-4 captures a rectangle currently visible on the screen, and Shift-Command-3 captures the display. Neither shortcut captures the entire scrollable document when the page continues below the browser viewport. For a full-page image, use a browser-specific full-page capture feature or another tool, and check the current instructions for your browser and version.
Rank #3
- AN AMAZING MAC AT A SURPRISING PRICE — With an incredibly portable and durable aluminum design, up to 16 hours of battery life,* and the A18 Pro chip, MacBook Neo is ready to go wherever school takes you.
- FOUR STUNNING COLORS. ONE DURABLE DESIGN — Choose from four beautiful colors — Silver, Blush, Citrus, or Indigo — each with a color-coordinated keyboard. And MacBook Neo is made with a durable recycled aluminum enclosure that helps it reach 60 percent recycled content by weight — the most ever in any Apple product.*
- FLY THROUGH EVERYDAY ASSIGNMENTS — Whether you’re cramming for finals, using Apple Intelligence* to summarize class notes, creating presentations, or even playing the latest Apple Arcade game,* MacBook Neo delivers the performance and AI capabilities you need to get things done.
- UP TO 16 HOURS OF BATTERY LIFE — MacBook Neo delivers all day battery life, so you can power through from early morning classes to late night study sessions without worrying about plugging in.
- A VIBRANT 13-INCH DISPLAY* — The gorgeous Liquid Retina display on MacBook Neo supports 1 billion colors, so photos and videos pop and text is crisp for easy reading.
Or skip the browser setup
For a publicly accessible website, ScreenshotNeo can return a screenshot or PDF from one API request. See the ScreenshotNeo API documentation for request options. For example, this cURL request saves a WebP screenshot:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Replace the example URL with the publicly reachable page you want to capture. A service running only on your Mac’s localhost is not publicly reachable by the API; expose it through an appropriate accessible environment before requesting a capture. ScreenshotNeo removes supported cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are not billed. It also offers an MCP server for AI agents. The Free plan includes 1,000 screenshots per month with no card required; paid plans start at $5 for 3,000 screenshots.
Sign up for ScreenshotNeo’s free plan to get 1,000 screenshots a month with no card.
Quick Recap
Best Value
- SUPERCHARGED BY M5 — The 14-inch MacBook Pro with M5 brings next-generation speed and powerful on-device AI to personal, professional, and creative tasks. Featuring all-day battery life and a breathtaking Liquid Retina XDR display with up to 1600 nits peak brightness, it’s pro in every way.*
- HAPPILY EVER FASTER — Along with its faster CPU and unified memory, M5 features a more powerful GPU with a Neural Accelerator built into each core, delivering faster AI performance. So you can blaze through demanding workloads at mind-bending speeds.
- BUILT FOR APPLE INTELLIGENCE — Apple Intelligence is the personal intelligence system that helps you write, express yourself, and get things done effortlessly. With groundbreaking privacy protections, it gives you peace of mind that no one else can access your data — not even Apple.*
- ALL-DAY BATTERY LIFE — MacBook Pro delivers the same exceptional performance whether it’s running on battery or plugged in.
- APPS FLY WITH APPLE SILICON — All your favorites, including Microsoft 365 and Adobe Creative Cloud, run lightning fast in macOS.*
Rank #4
- AN AMAZING MAC AT A SURPRISING PRICE — With an incredibly portable and durable aluminum design, up to 16 hours of battery life,* and the A18 Pro chip, MacBook Neo is ready to go wherever school takes you.
- FOUR STUNNING COLORS. ONE DURABLE DESIGN — Choose from four beautiful colors — Silver, Blush, Citrus, or Indigo — each with a color-coordinated keyboard. And MacBook Neo is made with a durable recycled aluminum enclosure that helps it reach 60 percent recycled content by weight — the most ever in any Apple product.*
- FLY THROUGH EVERYDAY ASSIGNMENTS — Whether you’re cramming for finals, using Apple Intelligence* to summarize class notes, creating presentations, or even playing the latest Apple Arcade game,* MacBook Neo delivers the performance and AI capabilities you need to get things done.
- UP TO 16 HOURS OF BATTERY LIFE — MacBook Neo delivers all day battery life, so you can power through from early morning classes to late night study sessions without worrying about plugging in.
- A VIBRANT 13-INCH DISPLAY* — The gorgeous Liquid Retina display on MacBook Neo supports 1 billion colors, so photos and videos pop and text is crisp for easy reading.
Troubleshooting
- The screenshot is not on the Desktop: Open Screenshot controls with Shift-Command-5, then check Options > Save to for the selected destination.
- The image includes the wrong part of the browser: Before capturing, scroll to the intended page state, resize or reposition the window, and drag the selection around the page content rather than the whole display.
- Safari has no Develop menu: In Safari Settings > Advanced, enable Show features for web developers. The setting label can vary by Safari version.
- The capture omits content farther down the page: The macOS shortcut captures visible pixels, not a scrolling document. Use a full-page capture method supported by your browser or another tool instead.
- The responsive preview does not change the saved image dimensions: Responsive Design Mode changes the browser preview. The final capture is still a screen capture of the visible area; ensure the preview and browser window are sized as intended before selecting the region.
- ScreenshotNeo cannot load a localhost URL: The API needs a page it can reach. A localhost address on your Mac is local to your machine; make the page accessible to the service before requesting it.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
Free tools Windows power users keep installed
One-click scans. No signup required.

