Repository navigation
v2.1.0
Minor Changes
Description:
Locators resolved through getLocator and getNestedLocator will have their descriptions default to their terminal
registry paths. Explicit descriptions from registrations, reused schemas, and query-level overrides continue to take
precedence, while terminal frame definitions apply the description to the Locator returned by FrameLocator.owner().
This provides meaningful labels in Playwright traces and reports without changing the resolved locator chain.
Changes:
- Apply descriptions to the final resolved locator, including terminal frame owners, while preserving explicit registered and query-level overrides.
- Locators returned by
getLocatorandgetNestedLocatorwill have their description default to their terminalPathunless they have been explicitly given one. - Update tests and v2 documentation for the new behavior.
The actual locator can still be found under the call tab in the traceviwer.