Skip to content

Adam-ZS/GoogleForms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฆœ Google Forms Auto Filler - Intelligent Auto Fill & Submit Bot

This Python script automates the process of filling out and submitting Google Forms multiple times using Selenium WebDriver with Firefox.

Perfect for:

  • Testing Google Forms
  • Survey simulations
  • QA automation
  • Research/demo environments

It runs in headless mode (no visible browser window) for maximum speed and efficiency.


โœจ Features

โœ” Headless Mode โ€“ Runs invisibly for faster execution.

โœ” Random Answer Selection โ€“ Works with MCQs, checkboxes, grids, dropdowns, ratings, and more.

โœ” Intelligent Text Handling โ€“ Automatically fills short answer & paragraph questions with randomized realistic responses.

โœ” Smart Checkbox Handling โ€“ Selects 1-3 random checkboxes instead of all.

โœ” Multi-page Form Support โ€“ Automatically navigates through sections.

โœ” Error Recovery โ€“ Handles stale elements and retries unanswered questions.

โœ” Auto Form Submission โ€“ Clears cookies after every submission for clean sessions.

โœ” Smart Exclusions โ€“ Avoids options like "Other", "Medical", etc.

โœ” Performance Stats โ€“ Displays total runtime and average speed per submission.


๐Ÿš€ Supported Question Types

Question Type Supported
Multiple Choice โœ…
Checkboxes โœ…
Dropdowns โœ…
Linear Scale โœ…
Grid Questions โœ…
Short Answer โœ…
Paragraph โœ…
Multi-page Forms โœ…

๐Ÿง  Intelligent Text Handling

The bot automatically fills text questions using randomized realistic answers.

TEXT_RESPONSES = [
    "No",
    "None",
    "N/A",
    "Nothing to add",
    "Good",
    "Great",
    "Excellent",
    "Very good",
    "Satisfactory",
    "Acceptable",
    "Fine",
    "Okay",
    "Yes",
    "Agree",
    "I agree",
    "Strongly agree",
    "Noted",
    "Understood",
    "Thank you",
    "Appreciate it",
    "Looking forward",
    "All clear",
    "Perfect",
    "Sounds good",
    "Will do",
    "Confirmed",
    "Acknowledged"
]

Each submission gets different randomized text responses for more natural behavior.


๐Ÿ“ฆ Requirements

Python 3

sudo apt update
sudo apt install python3 python3-pip

Selenium

pip install selenium

GeckoDriver (Firefox)

pip install webdriver-manager

Firefox Browser

sudo apt install firefox

โš ๏ธ If you get error: externally-managed-environment

Use a virtual environment:

python -m venv myenv
source myenv/bin/activate
pip install selenium webdriver-manager

๐Ÿš€ Get Started

Clone Repository

git clone https://github.com/Adam-ZS/GoogleForms.git
cd GoogleForms

๐Ÿ”ง Install Dependencies

Recommended:

python -m venv myenv
source myenv/bin/activate  # Linux/macOS
pip install selenium webdriver-manager

Windows:

myenv\Scripts\activate

โ–ถ๏ธ Run The Bot

python form_fillerz.py

๐Ÿ“‹ Usage

๐Ÿ“‹ Enter Google Form URL:
๐Ÿ”ข How many submissions?

Example:

๐Ÿ“‹ Enter Google Form URL: https://forms.gle/example
๐Ÿ”ข How many submissions? 100

โšก Example Output

                \       /
                 \ .--./
    ;;          - <o  o>  -            ;;;
                  | -- |              ;;;
    ``            |    |  
                  `----'    ````''
oO  oO  oO=====   //  \\    ====Oo  Oo  Oo
                 //    \\
                //      \\ 
               ||ยฉAdam-ZS||
               ||  ~~~~  ||
             --`'--l---l---'`--

==================================================
Google Forms Auto Filler by Adam-ZS
==================================================

๐Ÿš€ Starting 100 submissions...

๐Ÿ“ Submitting form 1/100...
โœ… Submission 1 completed successfully!

๐Ÿ“ Submitting form 2/100...
โœ… Submission 2 completed successfully!

...

==================================================
๐ŸŽ‰ Finished: 100/100 successful submissions
โฑ๏ธ Total time: 210.54 seconds
โšก Average: 2.10 seconds per submission
==================================================

๐Ÿ“ธ Output / Results

image

image


๐Ÿ”ง Customization

Add Your Own Text Responses

TEXT_RESPONSES = [
    "Custom answer 1",
    "Custom answer 2",
    "Another response"
]

Edit Excluded Options

GLOBAL_EXCLUSIONS = [
    "medical",
    "other",
    "__other_option__",
    "ุงุฎุฑู‰",
    "other:",
    "ุฃุฎุฑู‰:"
]

Change Checkbox Selection Count

Default:

num_to_select = random.randint(1, min(3, len(valid)))

Example (1-5 selections):

num_to_select = random.randint(1, min(5, len(valid)))

Disable Headless Mode

# options.add_argument("--headless")

๐Ÿ› Troubleshooting

Problem Fix
GeckoDriver error pip install webdriver-manager
Firefox missing Install Firefox
Forms not submitting Verify form URL
Slow execution Check internet speed
Text inputs empty Ensure TEXT_RESPONSES is not empty

๐Ÿ“ Notes

  • Works best on public Google Forms
  • Supports almost all Google Forms question types
  • Does not bypass CAPTCHA/security protections
  • Designed for educational/testing purposes
  • Use responsibly and with permission

๐Ÿ‘จโ€๐Ÿ’ป Author

Adam-ZS

GitHub: https://github.com/Adam-ZS


๐Ÿ“„ License

MIT License


โญ Support

If this project helped you:

โญ Star the repository on GitHub.

About

GoogleForm Auto Filler, Auto Fill & Submit in Seconds!(Good for Projects)

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages