11 Oct 2022 04:51 PM
I have created a browser monitor which needs a regular expression to match the text value in DOM is greater than zero.
This is the text appeared in the DOM
"Found 100 Messages". I want to check a condition if Found ">0" Messages then pass the validation check using regular expression
13 Oct 2022 01:38 PM
Ei,
would this regex work for you?
Found\s[1-9][0-9]*\sMessages
You can configure that by editing the Browser monitor > Recorded clickpath > Click on the Synthetic events that is loading the page with the DOM element, check the regex box and then proceed with writing the string:
let me know if this helped. Have a great day!
Regards,
Yann
19 Dec 2022 01:16 PM
Hi @dariniv! Is y_buccellato's workaround helping to find a solution for your issue?