I tried to contrast to `expect` in a couple of my other responses, but yeah this is my sense too after looking briefly at `expect` - that ht always transparently sets up a terminal for you under the hood and you interact with that so you can always grab a screenshot of any terminal UI.
I don’t think `expect` is targeted at this use case (though I am only learning about `expect` right now so could be wrong)