https://github.com/yaph/wcap
Capture web pages as images using Selenium and the FireFox webdriver.
https://github.com/yaph/wcap
Last synced: 7 months ago
JSON representation
Capture web pages as images using Selenium and the FireFox webdriver.
- Host: GitHub
- URL: https://github.com/yaph/wcap
- Owner: yaph
- License: mit
- Created: 2020-07-06T21:23:22.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-10-11T11:14:41.000Z (8 months ago)
- Last Synced: 2025-10-22T00:39:17.877Z (8 months ago)
- Language: Python
- Homepage: https://pypi.org/project/wcap/
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.rst
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://www.mozilla.org/firefox) and [geckodriver](https://github.com/mozilla/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](https://ramiro.org/).