one js code in the page form as below:

function categorySelected(obj)
showError("Please select addresses first.")

the error message will come out in the same form page when delet nothing.

I want to recognize the error message generated by the above js , the identificatin can be recorded, but it can't be recognized, how to fix this issue?

it is something associated with useroptions? if so then which options? UseDocumentEnvents? or others?

I have tried the "BrowserPage.FlushCache()", but it can't work well