Selenium / Quiz
Under the Hood: The W3C WebDriver Protocol
Selenium is a REST client with opinions. Know what actually crosses the wire, what the W3C spec defines, and why Selenium 4 killed the JSON Wire Protocol.
- Difficulty
- Medium
- Format
- Quiz
- Points
- 150
- Estimate
- 10 min
// MISSION BRIEF
Your Mission
An interviewer slides a laptop across the table: 'Walk me through what happens, on the wire, when you call driver.findElement.' If your answer starts and ends with 'magic', this quiz is your training montage.
Seven questions on the protocol layer: sessions, endpoints, locator strategies as the spec defines them, and the Selenium 3 to 4 shift. Speed bonus active.
// FIRST CONTACT
Battle teaser
The biggest protocol change in Selenium 4:
- ADrivers now run inside the JVM
- BThe legacy JSON Wire Protocol was removed; clients speak pure W3C WebDriver, ending capability-translation quirks between bindings and drivers
- CThe protocol became binary-encoded
- DHTTP was replaced by gRPC
Answers, scoring, hints, and the full battle stay sealed.
// SKILL TAGS
seleniumwebdriverw3cprotocolarchitecture