This article explains how to open Google Chrome using Python and Selenium on a Windows system. It includes real command-line outputs and Python code.
1. Installing Selenium
Before using Selenium, you must install it using pip.
Command Prompt Output
Microsoft Windows Version 10.0.26200.8246 Microsoft Corporation. All rights reserved.
C:\Users\User>
pip install selenium
Requirement already satisfied: selenium in c:\users\user\anaconda3\lib\site-packages (4.43.0)
2. Opening Python
C:\Users\User>python
Python 3.13.9 | packaged by Anaconda, Inc. | (main, Oct 21 2025, 19:09:58) [MSC v.1929 64 bit (AMD64)] on win32
3. Importing Selenium and Opening Chrome
from selenium import webdriver
driver = webdriver.Chrome()
`
Once Chrome is opened in Python, you can:
✔ Browse websites automatically
✔ Extract data (scraping)
✔ Fill forms and log in
✔ Download files
✔ Automate repetitive office tasks
✔ Interact with systems like SAP dashboards
Conclusion
You have learned:
How to install Selenium
How to open Python
How to launch Google Chrome using Python
Top comments (0)