@textuality thanks for sharing your use case. one of the ways is to validate a page’s content after the page has loaded is using one of assert
or panic
functions in a macro. the last step in the macro can be something like this:
panic(element_has_text(body, "No stories found"), E_ASSERT, "Page didn't load correctly")
a screenshot with a something similar shown in the app:
to get started with macro, please see https://distill.io/docs/web-monitor/macro-to-record-replay-actions/. cheers!