Selenium 4 – What's New and How you Can Use it!
summary
Selenium 4 ships after five years and 400+ commits and moves WebDriver to the W3C standard so commands behave uniformly across Chrome Firefox Safari and Edge; it adds relative locators based on element bounding boxes, new window and tab APIs, a print API returning base64 PDFs, CDP‑backed basic auth, event listeners for DOM mutations and JavaScript errors, and network interception for stubbing responses. Selenium Grid is rearchitected with an event bus, observability hooks, Docker images and Helm charts for scalable runs.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:08Agenda
- 2:59Relative Locators
- 5:15New Windows
- 7:01Printing Pages
- 8:37New Features
- 12:32Basic Authentication
- 13:53Mutations
- 15:03ExceptionListener
- 16:22Network Intercepts
- 17:36Selenium Grid








