Skip to content

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 03 Aug 12:18
· 455 commits to main since this release
f9dfcda

Minor Changes

#44 9345734 Thanks @DyHex!

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 getLocator and getNestedLocator will have their description default to their terminal Path unless they have been explicitly given one.
  • Update tests and v2 documentation for the new behavior.
image

The actual locator can still be found under the call tab in the traceviwer.