The scripts.py
contains re-usable class methods that makes form automation easy
- create a virtual env
- add the required env vars
- download chromedriver (https://chromedriver.chromium.org/downloads)
chromedriver version should be the same as the chrome installed on your PC
pip3 install -r requirements.txt
export FORM_URL="http://localhost:5000"
export FLASK_ENV=development
export FLASK_APP=automation.main
This gives you a form to test the automation scripts
flask run --host=0.0.0.0
/// shell
run start_server.sh
py automation/test.py
celery --app automation.server.tasks.celery worker --loglevel=info