Wally script allow us to track visual and content changes in web pages, will prepare screenshots for you and send them over slack if detects any changes.
- Python 3.6+
- Selenium
- NumPy
- OpenCV
To install the requirements, run:
pip install -r requirements.txt
- Track visual changes in web pages and save screenshots
- Track content changes in web pages
- Support for batch mode
- Uses headless browser in order to render pages
- You can send slack notifications with screenshots when changes are detected
Whole configuration should be provided in config/config.py
file.
Note: This file is required and app will not run without it!
Please provide all interesting you urls, which you want to track in URLS
variable.
It's allowed to use custom parameters so it's perfect solution if you would like to test A/B tests.
Wally always takes full height of the page but allow to set width of the page.
Please provide all interesting you screen widths in SCREEN_SIZES
variable in the config file.
For all important information please rely on config/config_example.py
file.
The simplest way to run Wally is to use Docker. Only one command is required to run the script:
docker-compose up
python3 main.py https://www.google.com
python3 main.py
Please refer to config/config_example.py
and check sites
variable to see example of configuration file for urls.
By default, we use Firefox, so we support and use plugins for it, but nothing stops you from using Chrome and Chrome plugins, patter will be same.
Default plugins:
To add new extension just add xpi
file to extensions
directory and add it to browser.extensions
variable in config/config.py
file.