Skip to main content

Professional automated web screenshot tool for multiple devices - Visual auditing and responsive testing

Project description

📸 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

📄 License

MIT License - see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wshot-1.0.2.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wshot-1.0.2-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file wshot-1.0.2.tar.gz.

File metadata

  • Download URL: wshot-1.0.2.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for wshot-1.0.2.tar.gz
Algorithm Hash digest
SHA256 00066058d5f81474a842d153b11101a54ac3fd6cdd5a8dd4b7e178007efc8932
MD5 fd79fc327797d5641eb1b13105c2e2b4
BLAKE2b-256 958f3d65233486379f351840a7d838aebcc9c1bacb12caacd42b2a9961baa93a

See more details on using hashes here.

File details

Details for the file wshot-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: wshot-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for wshot-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 40d150b400083afe855d2ff1b36b8c8f8637c1f372e777f4afe171b4f254a69f
MD5 eebf05b88cb793a7542848d877e2b8cc
BLAKE2b-256 148aca03c2be6c08a54aa74136b43b07fef2326a4d006f66d02a3dcbaabfc379

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page