Check whether Python is installed
Before anything, check whether Python is installed. Open a terminal (Command Prompt or shell) and run:
Step 1: Install Python
1
Download Python
Download Python from the official Python downloads page.

2
Run the installer
Run the installer and make sure to check the option Add Python to PATH during installation.
Step 2: Install Selenium and WebDriver
1
Install Selenium
2
Install WebDriver
Step 3: Create a project directory
Create the project directory:Step 4: Write your Selenium script
Open a text editor and paste the following script:selenium_test.py inside the src directory. The script above uses IP whitelisting, so replace the proxy string with your own.
Step 5: Run your script
Open Command Prompt, navigate to thesrc directory, and run:
Expected output
The browser opens, navigates tohttps://www.maxmind.com/en/locate-my-ip-address, and displays your IP address and related details.

