Glossary · Page model

CSS selector drift

The slow failure mode of selector-based automation: a class rename or a moved container silently breaks a script that used to work.

What is css selector drift?

Selector drift is what happens when automation addresses elements by CSS or XPath and the page’s markup changes underneath it. The selector still parses, it just matches nothing — or worse, matches the wrong thing — so the script fails in a way that looks like a site outage rather than a maintenance problem.

Why it matters

It is the maintenance cost that makes classic RPA expensive to own. Addressing elements by index and role, and re-observing as a path executes, removes most of the class of failure — a cosmetic change usually changes nothing the path depends on.

Related terms

See it in context

Back to the full glossary

Put your agent to work. Keep the decision.

Give your agent a real browser, authorize the accounts it may use, and keep control of every step. Repeated runs compile into skills that replay without a model.