Skip to content

4.3.0

Latest

Choose a tag to compare

@ThomasArdal ThomasArdal released this 21 May 17:04

Improved CSS selectors:

  • Added :nth-of-type() to differentiate identical sibling elements.
  • Breadcrumbs now generate shorter paths by stopping at the first ID.
  • Breadcrumbs now capture the actual text of buttons, labels, and links (e.g., [text="Save"]).
  • Breadcrumbs now capture the actual values of select boxes.
  • Breadcrumbs now use data-testid, data-id, data-cy, and data-track attributes to identify elements when available, resulting in shorter and cleaner paths (commonly used attributes for testing and tracking).

SPA navigation tracking:

  • Replaced the deprecated history.onpopstate method.
  • Added pushState and replaceState support to track route changes in modern frameworks.