Skip to contentPlayForge
Act IIChapter 10
chapter 10

10. Locators II: Scoping and Rot

Narrow, filter and chain locators, and spot the ones that will break next sprint.

20m read20m in total

Chapter film (about 7m) is coming.

6 more checkpoints in this chapter

This chapter is part of Standard, which opens at launch. Its lessons are listed below.

  1. Scoping and Filtering
  2. CSS Selectors, and the Ones That Rot
  3. XPath, and What Replaced It
  4. Locators That Rot
  5. Locator Factories
  6. Practice and interview questions: Locators Masterclass
See what a full account includes

Practice

32 exercises attached to this chapter.

  • fixAmbiguous duplicated text🔒 standard
  • locatorWhich link is current🔒 standard
  • locatorAssign — but only South🔒 standard
  • locatorView details — North🔒 standard
  • locatorThe id the build invented🔒 standard
  • locatorIts button🔒 standard
  • locatorTwelve divs deep🔒 standard
  • locatorOne row out of ten🔒 standard
  • locatorEdit *that* order🔒 standard
  • locatorThe card, not the heading🔒 standard
  • locatorThe price inside one card🔒 standard
  • locatorAdd *that* to cart🔒 standard
  • locatorAddress by SKU🔒 standard
  • locatorLedger row by index🔒 standard
  • locatorThe status cell of one order🔒 standard
  • locatorFind the cancelled one🔒 standard
  • locatorNext, inside the pager🔒 standard
  • locatorDelete row 4112🔒 standard
  • locatorWhich "Status"?🔒 standard
  • locatorRow three of the feed🔒 elite
  • locatorAttached, hidden, and the id is gone🔒 elite
  • locatorThe hint it describes🔒 elite
  • locatorThe DELETE row🔒 elite
  • locatorRow, cell, badge🔒 elite
  • locatorThe smaller pitcher🔒 elite
  • locatorThe courier, in the review🔒 elite
  • locatorThe capstone🔒 elite
  • predictRow scoped🔒 standard
  • predictLocators: Dynamic IDs🔒 elite
  • mcqPlaywright core — quiz bank (3 questions)🔒 standard