I am working on a project where a webpage loads that contains the name and other protected information of medical patients.
I am trying to obscure some of the personal information so that it is not visible to the end user.
What I have tried so far is adding a "wait for browser event" and selected "DOM Ready" then I use the change attribute command to change the innertext of all the sensitive elements to the word "Obscured"
The process works, however there is a brief period of time where the page loads and the patient name is still visible before the attribute is changed. I have also tried waiting for the specific element, but that also displays the sensitive information briefly.
Is there a clever way to hide the entire browser view from the user while the bot is changing the attibutes? and/or is the a better/quicker way to change attribute values so that the data does not appear?