Skip to main content

Capture web pages as images using Selenium and the Firefox webdriver.

Project description

wcap

Capture web pages as images using Selenium and the Firefox webdriver.

Usage

wcap --dimensions 1500x1100 --wait 5 https://ukealong.com/key/c/ img/c.png

If Firefox is installed as a Snap on Ubuntu, you need to set the binary location.

wcap --dimensions 1500x1100 --wait 5 --binary-location /snap/firefox/current/usr/lib/firefox/firefox https://ukealong.com/key/c/ img/c.png

Installation

pip install wcap

In order for wcap to work you need to install the Firefox web browser and geckodriver. To install geckodriver download the release for your operating system from https://github.com/mozilla/geckodriver/releases and move the executable file to a directory that is included in your PATH environment variable.

Authors

wcap was written by Ramiro Gómez.

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

wcap-0.3.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

wcap-0.3.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file wcap-0.3.0.tar.gz.

File metadata

  • Download URL: wcap-0.3.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for wcap-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b8e9a75f957b520afbf7aaa8b0e502dccf5c0085537a9f5976ed37cf3e6f527d
MD5 9e108d8a9bf30f77a8538c6ef31f8695
BLAKE2b-256 4b783c39073918939d2fac3c0e6fdf5e2a18365a037f36c93c129847220ac1f3

See more details on using hashes here.

File details

Details for the file wcap-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: wcap-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for wcap-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb00c1280963f23fece3dbcd705d7b1293bb90b4f9caa7e7313aa9125e6a7efe
MD5 8d2c770c86121072efa68c958b701da9
BLAKE2b-256 ab7ea73b4f60dd2b6c0a6b9cbd153e8c4b8a9923bbcf78f31a5e38910ede4bd8

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