📸 Wshot
Automated web screenshot tool for multiple devices. Perfect for visual audits, responsive testing, and web project documentation.
🚀 Quick Installation
Method 1: Standard Installation (Recommended)
pip install wshot
playwright install chromium
Method 2: Isolated Installation (pipx)
pipx install wshot
pipx inject wshot playwright requests
playwright install chromium
Verify Installation
wshot --help
Install from source
pip install git+https://github.com/DanielMartinezSebastian/wshot.git
playwright install chromium
🔧 Installation Troubleshooting
pipx users: If you get dependency errors, inject the required packages:
pipx inject wshot playwright requests
Virtual environments: Always install in a virtual environment for isolation:
python -m venv wshot-env
source wshot-env/bin/activate # Linux/Mac
# wshot-env\Scripts\activate # Windows
pip install wshot
playwright install chromium
Installation issues? See DOCS.md or TROUBLESHOOTING.md
⚡ Basic Usage
# Capture on all devices
wshot https://example.com -all
# Specific device
wshot https://example.com --device mobile
wshot https://example.com --device desktop
# Super mode (recommended)
wshot https://example.com --super
See all commands and options in DOCS.md
📱 Main Devices
| Device | Dimensions | Usage |
|---|---|---|
mobile |
393×852 | iPhone 15 (mobile standard) |
tablet |
768×1024 | iPad (tablet standard) |
laptop |
1280×800 | 13" Laptop (standard) |
desktop |
1920×1080 | Full HD Monitor (standard) |
desktop-4k |
3840×2160 | 4K Professional Monitor |
See complete list in DEVICES.md
📂 Output Structure
~/Pictures/WSHOT/
└── example.com/
├── mobile/
│ ├── example.com_mobile-20241005_142958.png
│ └── example.com_mobile-complete-20241005_142958.png
└── desktop/
├── example.com_desktop-20241005_142958.png
└── example.com_desktop-complete-20241005_142958.png
⚙️ Main Options
# All devices
wshot https://example.com -all
# Specific device
wshot https://example.com --device mobile
# Super mode (recommended for complex sites)
wshot https://example.com --super
# Custom wait time
wshot https://example.com --device desktop --wait-time 5
# Auto-dismiss cookie banners
wshot https://example.com --device desktop --auto-dismiss
# Extract OpenGraph metadata
wshot https://example.com --device desktop --og
# Open file explorer when finished
wshot https://example.com --super --open
📖 Help
wshot --help # Quick help
wshot --info # Complete guide
📚 Documentation
- DOCS.md - Complete documentation and advanced features
- DEVICES.md - Complete list of available devices
- TROUBLESHOOTING.md - Common problem solutions
- ROADMAP.md - Project evolution and future plans
📄 License
MIT License - see LICENSE for details.
Metadata
Release files for wshot 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wshot-1.0.2.tar.gz | 29.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wshot-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.5 kB
Release files / wshot-1.0.2.tar.gz
| Download URL | wshot-1.0.2.tar.gz |
|---|---|
| Size | 29.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00066058d5f81474a842d153b11101a54ac3fd6cdd5a8dd4b7e178007efc8932
|
|
BLAKE2b-256 checksum How to use checksums |
958f3d65233486379f351840a7d838aebcc9c1bacb12caacd42b2a9961baa93a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / wshot-1.0.2-py3-none-any.whl
| Download URL | wshot-1.0.2-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40d150b400083afe855d2ff1b36b8c8f8637c1f372e777f4afe171b4f254a69f
|
|
BLAKE2b-256 checksum How to use checksums |
148aca03c2be6c08a54aa74136b43b07fef2326a4d006f66d02a3dcbaabfc379
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|