Take full web page screenshots on Mac using the command line: Use webkit2png.
How to capture full page screenshots on Mac via command line
Using the webkit2png command line tool, you can capture full web page screenshots on Mac.
First you need to install Homebrew on your Mac,
brew install webkit2png
webkit2png After the installation is complete, you can use the following syntax in the command line Take a screenshot of a full page:
webkit2png -F https://osxdaily.com
The -F flag specifies a full page.
You can also specify the width (in pixels) of the browser screenshot using -W, like this:
webkit2png -F -W 1000 https://osxdaily .com
Important note about capturing screenshots of pages with lazy-loaded images: If you are taking a screenshot of a webpage that uses lazy loading to speed up site loading and page speed Screenshots, which are so common on the modern web, most web page images are not captured in screenshots.
The above is the detailed content of Take full web page screenshots on Mac using the command line: Use webkit2png.. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

SublimeText3 Chinese version
Chinese version, very easy to use

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
