Skip to main content

System Requirements

Before installing FIFA Bot, ensure your system meets these requirements:

Operating System

Windows (required for win32clipboard functionality)

Python Version

Python 3.7 or higher

Chrome Browser

Google Chrome (latest version)

ChromeDriver

ChromeDriver matching your Chrome version

Python Dependencies

FIFA Bot requires several Python packages. Install them using pip:
1

Install Core Dependencies

pip install selenium pyrebase tkinter pillow pywin32
selenium
library
Browser automation framework for web scraping and interaction
pyrebase
library
Firebase integration for remote control and cloud storage
tkinter
library
GUI framework for the desktop interface (usually pre-installed with Python)
Pillow (PIL)
library
Image processing for screenshot functionality
pywin32
library
Windows clipboard integration for sending screenshots via WhatsApp
2

Verify Installation

Test that all packages are installed correctly:
import selenium
import pyrebase
import tkinter
from PIL import Image
import win32clipboard
print("All dependencies installed successfully!")

Chrome Setup

FIFA Bot uses Chrome in debug mode to maintain your FIFA Web App session.
1

Add Chrome to System PATH

Add Chrome’s installation directory to your system PATH environment variable:Default Chrome Path:
C:\Program Files\Google\Chrome\Application
On Windows, go to System Properties → Environment Variables → System Variables → Path and add the Chrome directory.
2

Create User Data Directories

Create separate directories for Chrome profiles:
mkdir C:\chromedriver2
mkdir C:\chromedriver3
  • chromedriver2 is used for the FIFA Web App
  • chromedriver3 can be used for WhatsApp Web
3

Launch Chrome in Debug Mode

Open Command Prompt and run:For FIFA Web App (Port 9250):
chrome.exe --remote-debugging-port=9250 --user-data-dir="C:/chromedriver2"
For WhatsApp Web (Port 9222):
chrome.exe --remote-debugging-port=9222 --user-data-dir="C:/chromedriver3"
Keep these Chrome windows open while the bot is running. Closing them will disconnect the bot.
4

Login to Web Applications

  1. In the Chrome window on port 9250, navigate to FIFA Web App and log in
  2. In the Chrome window on port 9222, navigate to WhatsApp Web and scan the QR code
  3. Keep both sessions active

ChromeDriver Installation

Selenium requires ChromeDriver to control Chrome.
1

Check Chrome Version

Open Chrome and go to:
chrome://settings/help
Note your Chrome version number.
2

Download ChromeDriver

Download the matching ChromeDriver from:
https://chromedriver.chromium.org/downloads
3

Install ChromeDriver

  1. Extract the chromedriver.exe file
  2. Place it in a directory in your system PATH, or:
  3. Place it in the same directory as your bot script
You can also add ChromeDriver’s directory to your system PATH for easier access.

Verify Installation

Test that everything is set up correctly:
from selenium import webdriver
from selenium.webdriver.chrome.options import Options

# Test FIFA Web App connection
opts = Options()
opts.add_experimental_option('debuggerAddress', 'localhost:9250')
driver = webdriver.Chrome(options=opts)
print(f"Connected to: {driver.current_url}")

# Test WhatsApp connection
optsWhats = Options()
optsWhats.add_experimental_option('debuggerAddress', 'localhost:9222')
driverWhatsapp = webdriver.Chrome(options=optsWhats)
print(f"WhatsApp connected: {driverWhatsapp.current_url}")
If both connections succeed without errors, your installation is complete!

Troubleshooting

Error: SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version XXSolution: Download the ChromeDriver version that matches your Chrome browser version.
Error: WebDriverException: Can not connect to the ServiceSolution:
  1. Ensure Chrome is running in debug mode with the correct port
  2. Verify the port number matches in both the Chrome launch command and bot configuration
  3. Check that no firewall is blocking the connection
Error: ModuleNotFoundError: No module named 'pyrebase'Solution: Install the missing package:
pip install pyrebase
Error: ImportError: No module named 'win32clipboard'Solution: The bot is designed for Windows. For other operating systems, you’ll need to modify the screenshot functionality to remove win32clipboard dependencies.

Next Steps

Configuration

Configure Firebase, WhatsApp, and bot settings

Search Filters

Set up player search filters

Build docs developers (and LLMs) love