This project automates the filling of Google Forms and sends a confirmation email with a screenshot of the submission using Django and Selenium. It also includes a simple Django app with a home page and a button to trigger the automation process.
- Automated Google Form filling using Selenium.
- Sending a confirmation email with a screenshot attachment.
- Simple Django application .
- Python 3.x
- Django
- Selenium
- Google Chrome and ChromeDriver
- A Heroku account (for deployment)
-
Clone the repository:
git clone https://github.com/yourusername/google_form_filler.git cd google_form_filler
-
Create a virtual environment and activate it:
python -m venv myenv source myenv/bin/activate # On Windows, use `myenv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
-
Configure your Google Chrome profile for Selenium:
chrome_profile_path = "C:/Users/HP/AppData/Local/Google/Chrome/User Data"
-
Run the Django development server:
python manage.py runserver
-
Open your browser and navigate to:
http://127.0.0.1:8000/automate-and-send-email/