Demo Selenium tests of https://shop.by/
Setup:
- Clone repository
- Install Python3 for your system if you don't have it: https://www.python.org/downloads/
- Install virtualenv if you don't have it: https://virtualenv.pypa.io/en/latest/installation/
- Create venv for the project and activate it: https://virtualenv.pypa.io/en/latest/userguide/
cd path/to/project/directory
- Run
pip install -r requirements.txt
- Download Chrome webdriver for your system: http://chromedriver.chromium.org/downloads
- Set webdriver path as environment variable
export webdriver_path=/path/to/webdriver/executable
To execute tests simply run pytest