Code Monkey home page Code Monkey logo

wally's Introduction

Wally - Automatically detect visual changes in your websites

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.

Requirements

  • Python 3.6+
  • Selenium
  • NumPy
  • OpenCV

To install the requirements, run:

pip install -r requirements.txt

Important aspects

  • 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

Configuration

Whole configuration should be provided in config/config.py file. Note: This file is required and app will not run without it!

URLs

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.

Screen Sizes

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.

Running ๐Ÿš€

Docker ๐Ÿ‹

The simplest way to run Wally is to use Docker. Only one command is required to run the script:

docker-compose up

Local Machine ๐Ÿ–ฅ

Command line example

python3 main.py https://www.google.com

File example with batch mode

python3 main.py

Please refer to config/config_example.py and check sites variable to see example of configuration file for urls.

Supported browsers

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.

wally's People

Contributors

ddcodepl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.