feat(actionability): wait for elements to be non-inert

Merged
DG
14d ago
+169-28

Summary

  • Adds a "not inert" actionability check: click, check, tap, fill, clear and selectOption wait for the element to be outside of an inert subtree.
  • Aria snapshots, role selectors and modal dialogs are not affected. A test confirms inert elements and content outside of a modal dialog still show up in aria snapshots.
  • Stacked on top of #43850, which must land first.

Fixes https://github.com/microsoft/playwright/issues/43792