Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Cupertino desk4 min

How to Capture a Web Page Screenshot with Apple Shortcuts on Mac

Use macOS Screenshot for Safari images, Safari Web Archive to preserve a page, and Shortcuts’ JavaScript action for page data or changes—not a documented screenshot.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Apple Shortcuts on Mac does not have a documented action for taking a screenshot of a rendered Safari webpage. For an image of what is on screen, use macOS Screenshot. For a whole-page file that preserves webpage content, Safari can save a Web Archive—but that is not an image. Shortcuts’ “Run JavaScript on Webpage” action is for retrieving page data or changing page content, not a documented screenshot workflow.

Choose the right capture for what you need

Your goal Use What you get
Save the visible part of Safari as an image macOS Screenshot An image of the selected screen area or window; it is not a documented capture of the entire scrolling page.
Capture everything on the display Shift-Command-3 or Screenshot’s entire-screen option An image of the full display, including other visible apps and desktop content.
Keep a webpage with its graphics and links Safari’s Web Archive option An archive file, not a screenshot image.
Save the page’s HTML Safari’s Page Source option HTML source, not a rendered image.
Retrieve data from a page or modify it Shortcuts’ Run JavaScript on Webpage action Data or page changes, not a documented screenshot.

Take a screenshot of Safari with macOS Screenshot

Open the webpage in Safari and bring the content you want to capture into view. Apple documents captures of the whole screen, a window, or a selected portion—not a single image that automatically includes the entire scrollable webpage.

As an Amazon Associate I earn from qualifying purchases.

  1. Capture the whole display: Press Shift-Command-3. The result includes the entire screen, not just the Safari page.
  2. Choose a window, region, or other capture setting: Press Shift-Command-5 to open Screenshot controls. Select the screen, window, or portion option, then capture.
  3. Capture a selected area directly: Press Shift-Command-4, drag to select the portion, and release.
  4. Capture a window or menu: Press Shift-Command-4, then press Space. Click the window or menu. Hold Option while clicking to omit the window shadow.

Captures normally save to the desktop. To choose another destination, open Screenshot controls with Shift-Command-5, select Options, and change the save location. Some apps may prevent their windows from being captured.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Save a whole webpage as a file in Safari

If you need to preserve more than the visible screen, use Safari’s save formats. Neither format is an image screenshot.

#1 Best Overall
Sale
Apple Magic Keyboard with Numeric Keypad - White | Wireless, Bluetooth, Rechargeable. Works with Mac, iPad, or iPhone; US English
  • WIRELESS, RECHARGEABLE CONVENIENCE — Magic Keyboard with Numeric Keypad connects wirelessly to your Mac, iPad, or iPhone via Bluetooth. And the rechargeable internal battery means no loose batteries to replace.
  • WORKS WITH MAC, IPAD, OR IPHONE — It pairs quickly with your device so you can get to work right away.
  • ENHANCED TYPING EXPERIENCE — Magic Keyboard delivers a remarkably comfortable and precise typing experience. Its extended layout features document navigation controls for quick scrolling and full-size arrow keys. The numeric keypad is ideal for spreadsheets and finance applications.
  • GO WEEKS WITHOUT CHARGING — The incredibly long-lasting internal battery will power your keyboard for about a month or more between charges. (Battery life varies by use.) Comes with a Lightning to USB Cable that lets you pair and charge by connecting to a USB port on your Mac.
  • SYSTEM REQUIREMENTS — Requires a Bluetooth-enabled Mac with macOS 10.12.4 or later, an iPad with iPadOS 13.4 or later, or an iPhone or iPod touch with iOS 10.3 or later.
  1. In Safari, open the webpage and choose File > Save As.
  2. Choose Web Archive to save the page with its graphics. Links remain usable while their destination pages are still available.
  3. Choose Page Source if you need the HTML only.
  4. Save the file to your preferred location.

Safari may be unable to save some items that appear on a webpage. If the requirement is a long, scrollable image rather than an archive, the built-in screenshot steps above do not establish a whole-page image workflow.

What Shortcuts’ Safari JavaScript action does

Apple describes Run JavaScript on Webpage as a way to retrieve specific data from a website or modify webpage contents. Its documentation does not identify it as an action for capturing a rendered screenshot. Use Screenshot for images; use the JavaScript action for supported page automation.

Rank #2
Sale
Apple Magic Keyboard - US English ​​​​​​​, Bluetooth
  • Magic Keyboard delivers a remarkably comfortable and precise typing experience.
  • It’s also wireless and rechargeable, with an incredibly long-lasting internal battery that’ll power your keyboard for about a month or more between charges.
  • It pairs automatically with your Mac, so you can get to work straightaway.
  • It features a USB-C port and includes a woven USB-C Charge Cable that lets you pair and charge by connecting to a USB-C port on your Mac.

Set up a Shortcut that runs JavaScript on the active Safari page

  1. In Shortcuts, create a shortcut and add the Run JavaScript on Webpage action (also described as running JavaScript on the active Safari tab).
  2. Enable Allow Running Scripts in Safari’s settings when prompted or required.
  3. Run the shortcut from Safari with an active webpage available as input.
  4. If the script returns data, call the completion handler as required by Apple’s action guidance. The JavaScript extension has a time limit, so keep work bounded.

This setup can extract or modify webpage content, but it does not turn the Shortcut into a documented screenshot tool. For exact behavior and compatibility, consult Apple’s Shortcuts for Mac user guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Or skip the browser setup

If you need screenshot files in an automated workflow, ScreenshotNeo offers a one-request screenshot API. For example, this cURL command requests a WebP image of a page:

Rank #3
Magic Keyboard with Touch ID and Numeric Keypad for Mac Models with Apple Silicon - US English - Black Keys
  • Magic Keyboard is available with Touch ID, providing fast, easy and secure authentication for logins and to unlock your Mac.
  • Magic Keyboard with Touch ID and Numeric Keypad delivers a remarkably comfortable and precise typing experience.
  • It features an extended layout, with document navigation controls for quick scrolling and full-size arrow keys, which are great for gaming.
  • The numeric keypad is also ideal for spreadsheets and finance applications.
  • It’s wireless and features a rechargeable battery that will power your keyboard for about a month or more between charges.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo API documentation for the request options. It accepts and removes cookie/consent banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are not billed. Its MCP server lets AI agents take screenshots. The free plan includes 1,000 screenshots a month with no card, and paid plans start at $5 for 3,000.

Sign up for ScreenshotNeo’s free plan.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Format and compatibility notes

Screenshot controls and output can vary by macOS version and supported hardware. Apple’s Mac screenshot documentation, published September 16, 2026, says supported Mac models running macOS Tahoe 26 or later can choose SDR/PNG or HDR/HEIF capture formats. Apple also notes that some apps may prevent their windows from being captured. Check Apple’s current Take a screenshot on Mac instructions if controls or formats differ on your Mac.

Quick Recap

SaleBestseller No. 2
Apple Magic Keyboard - US English ​​​​​​​, Bluetooth
Apple Magic Keyboard - US English ​​​​​​​, Bluetooth
Magic Keyboard delivers a remarkably comfortable and precise typing experience.; It pairs automatically with your Mac, so you can get to work straightaway.
$86.00
Bestseller No. 3
Magic Keyboard with Touch ID and Numeric Keypad for Mac Models with Apple Silicon - US English - Black Keys
Magic Keyboard with Touch ID and Numeric Keypad for Mac Models with Apple Silicon - US English - Black Keys
The numeric keypad is also ideal for spreadsheets and finance applications.
$175.41
SaleBestseller No. 4
SaleBestseller No. 5
Best Value
Sale
Apple Magic Keyboard with Touch ID and Numeric Keypad for Mac Models with Apple Silicon - US English - White Keys, Bluetooth, Bluetooth
  • Magic Keyboard is available with Touch ID, providing fast, easy and secure authentication for logins and to unlock your Mac.
  • Magic Keyboard with Touch ID and Numeric Keypad delivers a remarkably comfortable and precise typing experience.
  • It features an extended layout, with document navigation controls for quick scrolling and full-size arrow keys, which are great for gaming.
  • The numeric keypad is also ideal for spreadsheets and finance applications.
  • It’s wireless and features a rechargeable battery that will power your keyboard for about a month or more between charges.
Rank #4
Sale
Macally Ultra Slim USB Wired Computer Keyboard - Compatible Apple Keyboard or Windows - Full Size with 20 Mac Keyboard Keys -with Numeric Keypad - Silver Aluminum Finish
  • Ultra Thin Wired Keyboard: Constructed with aluminum backing, the slim keyboard's height is less than that of a penny.
  • Broad Compatibility: Able to work with Apple and compatible with Windows PC operating systems
  • Full Sized Extended Keyboard: Easy access to media with 20 Apple shortcut keys (cut/copy/paste, iTunes control, Volume up/down, etc.) and multimedia shortcuts for Windows PC. Also, contains a ten-key numeric keypad for easy data entry.
  • Plug and Play (No Drivers Required): No need to continually change or recharge batteries of wireless keyboards
  • Long Cord: 4'7" (140 cm) USB cable to connect your external keyboard to the computer

Troubleshooting

  • The shortcut cannot access a webpage: Run it from Safari while a webpage is active, and confirm the shortcut receives the Safari webpage as input.
  • Safari blocks the script: Enable Allow Running Scripts in Safari settings, then try again.
  • The JavaScript action times out: Apple documents a time limit for the extension. Reduce the amount of work or return only the data the shortcut needs.
  • The screenshot contains only what is visible: That is the expected scope of the documented screen, window, and selected-area controls. Scroll and capture additional regions, or save a Web Archive if an image is not essential.
  • A window or page item is missing: Some apps can prevent window capture, and Safari may be unable to save some visible webpage items. Try another supported capture scope or save format.
  • You cannot find the image: Screenshots normally save to the desktop unless the destination was changed in Screenshot Options.

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.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.