Selenium Components and WebDriver Architecture

Selenium 10 min min read Updated: Nov 16, 2026 Beginner
Selenium Components and WebDriver Architecture
Beginner Topic 2 of 5

The Selenium Suite

ComponentWhat it isWhen to use
Selenium WebDriverThe main library with browser control commandsAlmost all automation work
Selenium GridRuns tests on many machines and browsers at the same timeLarge suites and cross-browser testing
Selenium IDEBrowser extension that records and plays back actionsQuick demos and learning
Selenium ManagerBuilt-in helper that downloads the right browser driver for youAutomatic (you do not call it yourself)
Old news: Selenium RC (Remote Control) and Selenium 1 are obsolete. Everything today is built on WebDriver.

How a Command Travels

When your code says driver.get("https://example.com"), several things happen:

text Your script (Python/Java/C#...) | Selenium client library turns the command into JSON v HTTP request (W3C WebDriver protocol) | v Browser driver (chromedriver / geckodriver / msedgedriver) | translates to browser's own control interface v Real browser (Chrome / Firefox / Edge) | v Result goes back the same way (JSON response)
PartRole
Client libraryThe selenium package you install. Gives you driver.find_element, click and so on
Browser driverA small program made by the browser vendor that receives commands
BrowserDoes the real work: loads pages, runs JavaScript
W3C WebDriver protocolThe official standard language between client and driver, so all browsers behave similarly

Browser Drivers and Selenium Manager

Every browser needs its own driver: chromedriver for Chrome, geckodriver for Firefox, msedgedriver for Edge. In the past you had to download the exact matching version by hand, and tests broke every time the browser updated.

Good news: Selenium 4.6 and later include Selenium Manager. If no driver is found it automatically downloads the matching driver (and can download the browser too). You usually write no driver setup code at all.

Selenium 4 Highlights

  • Fully W3C compliant (more stable across browsers)
  • Relative locators: find an element by its position, for example to the left of another one
  • New windows and tabs created with switch_to.new_window
  • Better Actions API for mouse and keyboard
  • Chrome DevTools and BiDi (two-way) support for network and console information
  • Improved Grid 4 with Docker and observability support

Grid in One Picture

text Test script --> Grid Hub/Router --> Node 1 (Chrome, Windows) --> Node 2 (Firefox, Linux) --> Node 3 (Edge, Windows)

You will build and use a Grid later in the course.

Conclusion

Your script uses the Selenium library to send W3C WebDriver commands to a browser driver, which controls the browser. Selenium Manager removes the old pain of downloading drivers.

Quick Summary: Script -> Selenium library -> driver -> browser. Selenium Manager installs drivers automatically.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators