AutoFormX is a Python-based automation tool that fills out web forms intelligently using Selenium and BeautifulSoup. It supports multi-page forms, detects CAPTCHAs, and can fill common personal/contact fields such as name, email, phone, address, city, state, zip, country, company, DOB, and more.
- Dynamic detection of form fields (text, email, password, textarea, dropdown, checkboxes, radio buttons)
- Auto-fills address, phone number, personal, and company information
- Multi-page form navigation with “Next”/“Continue” detection
- CAPTCHA detection (pauses for manual solving)
- Uploads files automatically (e.g., resumes)
- Profile-based field mapping via
config.json - Easy to extend for custom field handling
- Clone or download the repository:
git clone https://github.com/<your-username>/AutoFormX.git
cd AutoFormX- Install dependencies:
pip install -r requirements.txt- Update
config.jsonwith your personal information.
Run the main script:
python main.py- Enter the URL of the form you want to fill.
- AutoFormX will detect fields and fill them using your profile data.
- If a CAPTCHA is detected, it will pause and prompt you to solve it manually.
- Multi-page forms are handled automatically, and the form will be submitted at the end.
{
"full_name": "Priyansh Agarwal",
"first_name": "Priyansh",
"last_name": "Agarwal",
"email": "priyansh@example.com",
"phone": "+91-9876543210",
"address": "123 Park Street",
"address2": "Apt 4B",
"city": "City",
"state": "State",
"zip": "204532",
"country": "India",
"company": "My Company Pvt Ltd",
"dob": "1999-01-01",
"website": "https://github.com/priyansh",
"resume": "C:\\Users\\Priyansh\\Documents\\resume.pdf",
"cover_letter": "I am excited to apply for this position...",
"message": "Auto-filled by AutoFormX for testing."
}- CAPTCHAs must be solved manually
- Complex JS-heavy fields may require custom handling
- Sliders, signatures, and advanced widgets are not yet supported
- Preview mode to confirm detected fields before auto-filling
- Logging of filled fields and skipped fields
- Template system for frequently used forms
- Extend checkbox/radio selection logic
This project is licensed under the MIT License.