Preform Action Based on Found Text in Chrome

I'd like to perform three different actions based on three unique text tags found on a Chrome website behind a login. I know this can likely be done with Move and Click from Found Image, but I'm trying to level up my abilities. In a real sinaero only one tag will ever be present.

If Line 20 is found, perform Macro A
If Line 26 is found, perform Macro B
If Line 27 is found, perform Macro C

Screenshot 2024-03-10 at 3.36.46 PM

This should work:

image

The ChromeJavaScript token is %ChromeJavaScript%document.body.innerText%

That should get the text of the front Chrome window.