How does Selenium WebDriver work under the hood?
beginner 0–2 yrs
Your test calls the language binding, which sends W3C WebDriver commands as HTTP requests to a browser driver (chromedriver, geckodriver), which controls the real browser. Selenium Manager downloads matching drivers automatically, and WebDriver BiDi adds a two-way channel for events.
Full answer with examples