Page:
Home
Pages
Appendix Documentation da
Appendix Documentation ms
Appendix Documentation
Description da
Description ms
Description
Home da
Home ms
Home
Install da
Install ms
Install
Step 1 Open The Game da
Step 1 Open The Game ms
Step 1 Open The Game
Step 2 Click The Cookie da
Step 2 Click The Cookie ms
Step 2 Click The Cookie
Step 3 Read The Count da
Step 3 Read The Count ms
Step 3 Read The Count
Step 4 Buy Upgrades da
Step 4 Buy Upgrades ms
Step 4 Buy Upgrades
Step 5 Five Minute Run da
Step 5 Five Minute Run ms
Step 5 Five Minute Run
Clone
2
Home
Tirsvad edited this page 2026-10-28 10:31:01 +01:00
Table of Contents
Cookie Clicker Bot
🌐 English · Dansk · Bahasa Melayu
A Selenium bot that plays Cookie Clicker for five minutes: it clicks the big cookie, buys upgrades and reports its cookies per second (CPS). It is the day 48 project of Udemy's 100 Days of Code: The Complete Python Pro Bootcamp.
This wiki walks through the five lecture steps. Each page has a screenshot taken by the bot itself in a headless browser inside Docker, the function that does the step, and what the step taught.
| Page | Read it when you want to |
|---|---|
| Description | See what the project is and how the code is layered |
| Install | Create a .venv, install, run the bot and the tests |
| Step 1: open the game | See how the bot starts the game and chooses a language |
| Step 2: click the cookie | See why the bot needs real clicks |
| Step 3: read the count | See how the game's numbers are parsed |
| Step 4: buy upgrades | See how the bot chooses and buys products |
| Step 5: the five-minute run | See the loop, the result and the Docker run |
| Appendix | Find the project documents |
The result of the run shown in the screenshots: 29 cookies per second after 300 seconds.