Hey there, if you have ever played Cookie Clicker game developed by DashNet and ever wondered how addictive it is. I have been playing past few days now and figured that there are multiple strategies to be used but, the primary method of getting a cookie is by clicking on the cookie chip which is pretty tiring and your mouse might crash 😉or stop working. Thereby, I used Selenium automation tool to do the job.
- Download the code and open in your local IDE.
- If you have a game that's already running then head over to options > export save and copy the whole content and paste it in import.txt file.
- Click on run.
- After 5000 clicks it plays a notification sound to notify you to buy something from the store since, the user interaction is not appreciated by the automation tool. You can modify these settings in the code and you will get 10 seconds to perform your action.
ℹ️Customize it your way, don't make the webdriver to click 10,000 times as it throws an error.
Date: 5/6/2021
