Why we stopped recording selectors

Recorded selectors are a promise the page cannot keep. A class name survives until someone renames it, an nth-child survives until someone adds a banner, and an xpath survives roughly until lunchtime.

So the runner now describes what it wants — the primary button in the cart summary — and resolves it against the page at the moment it acts. Slower by about forty milliseconds a step. Immune to a redesign.