Skip to content

v1.10.0

Choose a tag to compare

@felixgeelhaar felixgeelhaar released this 24 May 13:19
· 11 commits to main since this release

Added

  • Shadow DOM piercing across every action surface. v1.9.0 landed
    piercing in form discovery + `resolveSelector`; v1.10.0 finishes
    the job by extending the deep-find walker to every remaining
    selector lookup so any Lit / Stencil / Web Components UI is fully
    driveable.
  • `wait.ForSelector` / `ForVisible` / `ForHidden` poll through
    a `__scoutFind` walker that descends into open shadow roots.
    Fixes `click`, `type`, and every higher-level action that called
    `Page.WaitForSelector` first — they used to time out for 60s on
    shadow-rooted nodes because the wait predicate evaluated against
    the document scope only.
  • `Session.DispatchEvent` routes `submit`, `click`, and the
    generic custom-event branch through the same piercing find.
    Lit form submission via `dispatchEvent("form", "submit")` now
    works end to end.
  • `Session.AnnotatedScreenshot` + `ClickLabel` enumerate
    interactive elements via a shadow-DOM walker so the annotated
    label list includes buttons / inputs / anchors inside custom
    elements.

Why this matters

After v1.10.0, scout drives Lit / Stencil / Web Components admins
end-to-end without per-app `data-test` escape hatches. `click`,
`type`, `fill_form_semantic`, `dispatch_event`,
`annotated_screenshot`, and `click_label` all pierce.

Upgrade

```
brew upgrade felixgeelhaar/tap/scout
```