This Python app uses Playwright to capture full-page screenshots of a website across multiple devices: iPhone 12 Pro, iPad Mini, and Desktop Chrome.
Before running the app, make sure you have:
- Python 3.7+
- Playwright
pip install playwright
playwright install
Run the script in your terminal:
python main.py
When prompted, enter the full URL of the website you want to capture (e.g., https://google.com).
- Emulates multiple devices
- Full-page screenshots with JavaScript and animation handling
- Automatically saves screenshots into a timestamped folder
- Simple terminal interface
- Launch a Chromium browser (Behind the scenes)
- Emulate different devices
- Visit the website and scroll to the bottom
- Save screenshots into a folder like screenshots/22-04-2025__02-35-12PM/
Captured screenshots will be stored under the screenshots/ directory in a timestamped folder like this:
screenshots/
└── 22-04-2025__02-35-12PM/
├── iPhone_12_Pro.png
├── iPad_Mini.png
└── Desktop_Chrome.png
- You can modify the list of devices in the devices array inside the script.
- Customize viewport or zoom settings for Desktop as needed.