Appearance
Test
Status: PASS (Python package import) | NOT-RUN (browser launch - requires Chrome binary) Install method: pip
What was actually run (2026-06-30)
bash
pip show selenium
python -c "import selenium; print(selenium.__version__)"Actual output:
Name: selenium
Version: 4.45.0
Summary: Official Python bindings for Selenium WebDriver
4.45.0PASS for import. Selenium 4.45.0 already installed globally in this Python environment.
Full browser launch smoke test (not run)
Requires a local Chrome installation and a display:
python
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("https://www.selenium.dev/")
print(driver.title)
driver.quit()Not executed: no Chrome binary in this headless environment.
Common failure modes
| Error | Cause | Fix |
|---|---|---|
WebDriverException: cannot find Chrome binary | Chrome not installed | Install Chrome |
SessionNotCreatedException: ChromeDriver version mismatch | Driver/browser version mismatch | Update Selenium to 4.6+ (auto-manages driver) |
ModuleNotFoundError | Not installed | pip install selenium |