Selenium / Quiz

Selenium 4 Arsenal: Relative Locators, CDP, BiDi

Selenium 4 shipped more than a version bump: friendly locators, DevTools access, network interception, and a W3C future called BiDi. Know what each is actually for.

Difficulty
Medium
Format
Quiz
Points
150
Estimate
9 min

// MISSION BRIEF

Your Mission

Your lead asks for a lightning talk: 'What did Selenium 4 actually give us?' No marketing slides, just the real capabilities and their sharp edges.

Six questions on the Selenium 4 feature set. Speed bonus active.

// FIRST CONTACT

Battle teaser

Relative locators (above, below, toLeftOf, toRightOf, near) find elements by:

  1. ATheir order in the HTML source
  2. BAccessibility tree relationships
  3. CCSS specificity rules
  4. DSpatial position relative to a known element, computed from bounding rectangles via JavaScript
Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

seleniumselenium4cdpbidirelative-locators