This Python script is designed to automate the launching and arrangement of multiple Chromium browser instances, each configured with a different proxy. The goal is to open specified URLs simultaneously in these instances and arrange the windows in a grid on the user's screen.
- Fetches a list of proxy addresses from a specified website.
- Launches Chromium browser instances with separate proxies.
- Opens a target URL in each browser window.
- Arranges the browser windows in a customizable grid layout.
- Python 3.x
- Chrome WebDriver: Download the appropriate version matching your Chrome browser from here and ensure it's in your system's PATH.
git clone https://github.com/freekvlier/chromium-window-arranger.git
cd chromium-window-arranger
python -m venv env
Activate the virtual environment to isolate your package dependencies.
- Windows:
.\env\Scripts\activate
- Mac/Linux:
source env/bin/activate
pip install -r requirements.txt
This installs the necessary Python packages (requests, beautifulsoup4, selenium, pygetwindow, pyautogui) for the scrip
python main.py
Press 'Q' in terminal to exit the program.
- Adjust the NUM_PROXIES_TO_FETCH variable to specify the number of proxy addresses to fetch.
- Modify the TARGET_URL variable to set the URL to be opened in all browser windows.