Automate Contact Form Submission
The scripts.py
contains re-usable class methods that makes form automation easy
Setup
- 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
installation
pip3 install -r requirements.txt
ENV
export FORM_URL="http://localhost:5000"
export FLASK_ENV=development
export FLASK_APP=automation.main
run App
This gives you a form to test the automation scripts
flask run --host=0.0.0.0
/// shell
run start_server.sh
RUN TEST SCRIPT
py automation/test.py
Captcha Automation Coming Soon !!!
Celery integration Coming Soon !!!
run celery worker
celery --app automation.server.tasks.celery worker --loglevel=info