hasTextContent function

Matcher hasTextContent(
  1. String text
)

Matches if the rendered HTML's full text content (tags stripped) contains text.

expect(html, hasTextContent('Hello World'));

Implementation

Matcher hasTextContent(String text) => _HasTextContentMatcher(text);