![]() ![]() It would probably be a lot easier to send a bunch of POST requests instead of using Selenium and all that, but this was more fun and I wanted to learn how to use Selenium.It may work in headless mode without the 0.2 second delay, but my testing shows it needs to remain due to animations (thanks, Google).You would probably want to loop through an array of XPATHs to work with your particular scenario It currently works for a form with 30 consecutive short answer submission boxes, as these will be incramentally numbered and we can loop through the same XPATH with one number changed. This will require modification to work with your form. ![]() Wait random duration between two submissions (currently set to minutes) to reduce chance of detection.Print out when one submission is successful.Log which items were chosen to a log file.Pick a random entry from a list, or if given, data from a dictionary.Chrome Web Driver (currently set to /Python/Python3X/Scripts/chromedriver.exe, which is default.Google Forms Bot Selenium bot to automatically complete Google Forms - great for rigging surveys, or just for messing with friends. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |