Selenium Manager: How Browser and Driver Setup Works
Selenium Manager can discover and obtain a compatible browser driver when Selenium can't find one already configured. If a test can't start, first identify which browser, driver and network path the job actually uses.
What the manager does
Selenium's Manager documentation describes a fallback that discovers an installed browser, resolves a suitable driver, downloads it when needed and stores it in a local cache. Selenium bindings invoke the manager when a driver hasn't already been supplied. An explicit driver path or another manager can change which executable is used.
The same documentation describes supported browser management when a browser is unavailable. Behavior depends on the Selenium version, platform, browser and configuration. Record those details with a failure rather than assuming that every binding or installed browser follows the same path.
Work through a failed start
First confirm the test environment can see the intended browser executable and that the account running the job can read its cache. Then inspect the Selenium Manager diagnostic output for the stage that failed: browser discovery, version resolution, download or launch. Selenium's driver-location troubleshooting is a useful starting point.
A restricted network or proxy can prevent version lookup or download. In managed environments, coordinate an approved cache, package or mirror with the administrator. Don't disable certificate verification or pull binaries from an untrusted mirror just to make a test run. If an explicit driver is pinned, update browser and driver under the team's existing release process.
Separate setup from application failures
A driver-resolution error happens before a page interaction; a timeout after the browser starts needs a different investigation. Save the stage, tool versions and sanitized error message. Don't include cookies, credentials or private URLs in a shared issue.
For repeatable testing, pin the dependencies your project controls and document how the environment obtains browser binaries. Test a clean environment as well as an existing cache. A successful local launch doesn't establish that the same setup works in a restricted CI runner.
Example: isolate the startup step
from selenium import webdriver
options = webdriver.ChromeOptions()
driver = webdriver.Chrome(options=options)
try:
driver.get("http://127.0.0.1:8000/")
print(driver.title)
finally:
driver.quit()
Use a local test server and a Selenium version supported by your project. If webdriver.Chrome fails before navigation, inspect the driver-resolution or launch error first; if the browser starts but navigation fails, investigate the server and page separately. This example does not prove a particular driver was downloaded or that a CI environment can reach the same dependencies.
If you need help planning an authorized automation workflow, ask for a scoped assessment. Share the documented limits and a redacted example, without credentials or private data.