You can do this already with OCRExtract or ocrextractrelative. So you first scrape the text, then use Assert to check it:
- OCRExtractRelative | image | var1
- Assert | var1 | hello world
Assert
can only do exact comparisons. If you need more flexibility, use executeScript_Sandbox with one of the many Javascript string comparison options, e. g. includes