Searching text can be done with different methods:
(1) Easiest: If text is in page source: => Use SourceSearch command. See also How to sourceSearch and sourceExtract with case-insensitve text - #4 by admin
If text is not directly in page source (e.g. due to frames, Javascript, Ajax and other modern page elements):
-
(2) automate the browser text search by simulating “Ctrl+F” with XType
-
(3) Or: Use OCRSearch. If this is a large web page and you want to also OCR the text below the fold then add
visionLimitSearchArea | full
before the OCR search command.