Changelog

@nut-tree/element-inspector

Changelogs for @nut-tree/element-inspector

1.0.0

  • Feature: Linux support via AT-SPI2
  • Feature: descendantOf relation — find elements anywhere inside an ancestor, regardless of nesting depth
  • Feature: ancestorOf relation — find a container element that has a specific descendant
  • Feature: after relation — find elements that appear after a specific sibling
  • Feature: before relation — find elements that appear before a specific sibling
  • Feature: siblingOf relation — find elements that share a parent with a specific sibling
  • Feature: nthChild — select the nth child (0-based) among siblings
  • Feature: firstChild — select the first child of a parent
  • Feature: lastChild — select the last child of a parent
  • Feature: notMatching — exclude elements matching a given description, supports all property matchers including regex
  • Enhancement: maxChildDepth moved out of the description and into a dedicated search parameter
  • Enhancement: Moved to ESM with dual ESM/CJS module support
  • Bugfix: Fixed permission wrapper failure on macOS
  • BREAKING: Disable auto-registration and require explicit call to useElementInspector

0.4.3

  • Improvement: Improve error output on failed regex queries. They now include the query pattern to make it easier to debug.

0.4.2

  • Improvement: Bump peerDependency to @nut-tree/nut-js to ^4.7.0 to fix types for WindowElementDescription

0.4.1

  • Bugfix: Fix platform dependent import mechanism

0.4.0

  • Feature: macOS support
  • Feature: Native Windows ARM64 support

0.3.0

  • Bugfix: Element search skipped root level element, making such queries impossible to resolve
  • Enhancement: Extended element info returned by findElement and findElements and getElements methods
  • Enhancement: Both findElement and findElements now support additional properties to filter elements by

0.2.1

  • Bugfix: Properly collect elements in findElements

0.2.0

  • Introduced element relations

0.1.5

  • Initial public release