October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk6 min

Selenium Manager: Set Up WebDriver Automatically

Selenium Manager is bundled with Selenium 4.6 and later. Create a WebDriver session normally and let it resolve a compatible driver, with configuration and troubleshooting for restricted environments.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a typical Selenium test on a computer that already has a browser installed, install or update your Selenium language binding, then create the browser driver through its normal API. Selenium Manager is bundled with Selenium 4.6 and later and runs automatically as a fallback when you have not explicitly supplied a driver. It finds a compatible driver, downloads it if needed, and caches it locally—so you usually do not need to download ChromeDriver or add it to PATH yourself. Selenium Manager documentation

Set up a browser session without a manual driver download

Use the normal WebDriver constructor or factory for your language. The examples below assume the relevant Selenium binding is installed and the browser is installed locally.

Python

from selenium import webdriver

# Selenium Manager resolves the driver if one was not explicitly provided.
driver = webdriver.Chrome()
try:
    driver.get("https://example.com")
    print(driver.title)
finally:
    driver.quit()

Java

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class Main {
    public static void main(String[] args) {
        WebDriver driver = new ChromeDriver();
        try {
            driver.get("https://example.com");
            System.out.println(driver.getTitle());
        } finally {
            driver.quit();
        }
    }
}

JavaScript

const { Builder } = require('selenium-webdriver');

(async () => {
  const driver = await new Builder().forBrowser('chrome').build();
  try {
    await driver.get('https://example.com');
    console.log(await driver.getTitle());
  } finally {
    await driver.quit();
  }
})();

On the first run, Selenium Manager may need network access to browser-vendor metadata and driver downloads. Later runs can use its local cache. Exact package-install commands vary by language and project; install the official Selenium binding for your language and keep it current enough to include Selenium Manager.

What Selenium Manager does—and does not do

The Selenium Project describes Selenium Manager as its official driver manager, shipped with Selenium releases. A language binding invokes it when no driver has already been provided. It detects the installed browser version, resolves a compatible driver using vendor metadata, downloads the driver when necessary, and stores assets in the cache. The default cache path is ~/.cache/selenium. Selenium Manager · Unable to Locate Driver Error

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Driver management is not the same as installing a browser. Selenium Manager’s browser-download capability arrived separately: Chrome from 4.11.0, Firefox from 4.12.0, and Edge from 4.14.0. These are feature milestones, not a promise that every browser can be installed automatically in every environment. Installing Edge on Windows can require administrator permissions. If a browser is already installed, the basic WebDriver examples above use it.

Selenium Manager is a fallback, not an override. If your code or environment already provides a driver through a supported path or another manager, Selenium uses that setup rather than replacing it automatically.

Configure Selenium Manager when the default is not enough

Most developers can leave the defaults alone. For controlled environments, settings can be passed as command-line options, placed in se-config.toml, or set with SE_-prefixed environment variables. When a setting appears in more than one place, precedence is command-line option, configuration file, then environment variable. Configuration reference

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Need Setting or approach What to know
Route downloads through a proxy SE_PROXY or --proxy; browser options can also carry proxy settings Allow access to the relevant vendor metadata and download endpoints. Selenium’s Browser Options documentation covers browser proxy configuration.
Use a different cache location SE_CACHE_PATH or --cache-path Changes where Selenium Manager keeps assets, metadata, and configuration. The default is ~/.cache/selenium.
Run offline SE_OFFLINE=true Prevents network requests and downloads. Required browser and driver assets must already be available locally; an empty cache cannot support a first-time automatic download.
Pin browser or driver versions Browser-version and driver-version options, or their configuration and environment equivalents Use pins when you deliberately need reproducible versions. A pin adds maintenance responsibility and is not required for ordinary local sessions.
Use a custom Manager executable SE_MANAGER_PATH Available from Selenium 4.13.0 for bindings that need a custom Selenium Manager binary, such as when the default binary is incompatible with the system architecture.
Start a Selenium Grid node with automatic driver setup --selenium-manager true The Grid getting-started guide documents this option for Selenium Manager to configure drivers. Selenium Grid getting started

Linux package-managed browsers are a notable case: their versioning or locations can require a specific driver and explicit browser or driver paths. Follow the distribution and browser packaging constraints rather than assuming the local browser behaves like a standard vendor installation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Inspect automatic driver resolution

When a session fails during setup, run Selenium Manager directly with debugging enabled to see browser detection, version resolution, downloads, and resolved paths:

selenium-manager --browser chrome --debug

This is a diagnostic command; application code should normally create sessions through its language binding. If the command is unavailable, use the binding’s setup error and Manager logs to identify the executable or environment involved.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Cache behavior, reproducibility, and network trade-offs

The default metadata time-to-live is 3600 seconds (one hour) and can be configured; setting it to zero disables the TTL behavior. Selenium Manager also removes browser or driver version directories that have not been used for more than 30 days. As a result, metadata may refresh and an old cached version may no longer be present when a long-idle environment runs again. Selenium Manager cache settings

  • For local development: automatic resolution avoids routine manual driver downloads and lets the Manager cache reused assets.
  • For reproducible CI: decide whether to pin browser and driver versions, provision them in the build image, or allow resolution at run time. A pin improves control but requires deliberate updates.
  • For restricted networks: configure an approved proxy or pre-provision the needed assets and use offline mode. Offline mode cannot fetch anything missing.
  • For managed shared machines: use an intentional cache location and account for permissions, cleanup, and whether concurrent jobs can safely access it.

Troubleshoot failures by separating driver setup from browser behavior

“Unable to locate driver” or session creation fails

  • Confirm the Selenium binding version includes Selenium Manager; the bundled manager has been available since Selenium 4.6.
  • Check that the browser is installed and that the account running the test can access it.
  • Check network or proxy access to browser-vendor metadata and driver downloads, unless the required assets are already cached.
  • Inspect whether a manually configured driver path or third-party manager is taking precedence over Selenium Manager.
  • Run selenium-manager --browser chrome --debug to inspect resolution details.

First run fails on an air-gapped machine

SE_OFFLINE=true blocks network requests and downloads. It is only suitable when the matching browser and driver assets are already available locally; pre-provision them or run once in an environment with approved network access.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Linux browser and driver versions do not match

Package-managed browser builds may need a distribution-specific driver or explicit browser and driver paths. Check the installed browser version and package guidance, then pin or point to the compatible assets as an intentional environment configuration.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Manager binary is incompatible with the machine

For supported configurations, Selenium 4.13.0 and later documents SE_MANAGER_PATH for selecting a compatible custom Selenium Manager binary.

The browser starts, but tests fail or hang

Not every Selenium error is a driver-resolution failure. The Selenium troubleshooting guide identifies poor synchronization as the most common Selenium-related error. If the browser session starts successfully, investigate waits, element availability, and page behavior rather than repeatedly changing the driver. Selenium troubleshooting assistance

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If your task is to capture a page image or PDF—not to automate browser interactions—ScreenshotNeo can return a screenshot from one GET request. For example, this cURL call saves a WebP image of Stripe:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo API documentation for request options. ScreenshotNeo removes cookie banners, newsletter popups, and chat widgets before the shot; bot checks, blank pages, and failed loads are never billed. Its MCP server lets AI agents use screenshot tools, and the free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. This is for screenshot capture, not a replacement for Selenium when your test needs browser interaction. Learn about ScreenshotNeo, or sign up free for 1,000 screenshots a month with no card.

Frequently asked questions

Do I need to install Selenium Manager separately?

No. It is bundled with Selenium releases from 4.6 onward and is invoked by the bindings as needed.

Can Selenium Manager install the browser as well as the driver?

It has browser-management support, but that capability was added by browser at different release milestones; driver management alone does not mean the browser is installed.

Should I remove an existing ChromeDriver setup?

Not necessarily. Selenium Manager only acts as a fallback when no driver is otherwise provided. Remove or change an existing setup only if you intend to rely on automatic resolution instead.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. Shenzhen desk3 min
    HONOR Expands Beyond Smartphones With Humanoid Robot RevealHONOR said it unveiled its first humanoid robot at MWC 2026 and named shopping assistance, workplace inspections, and supportive companionship as intended uses. Later Robotics D1 claims and a reported…
  2. Cupertino desk5 min
    Apple Unveils AirPods Max 2: The Upgrade That Should Have Happened Years AgoAirPods Max 2 adds H2-powered audio features and Apple claims up to 1.5× more effective ANC, but its design, Smart Case, and 20-hour battery rating are unchanged. Wired lossless audio…
  3. Cupertino desk4 min
    Apple’s OLED Touch MacBooks Are Coming—but the Dynamic Island Is the Real GambleApple has not announced an OLED touchscreen MacBook, but reports point to high-end models arriving in late 2026 or early 2027. The reported Mac Dynamic Island could be useful, but…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.