How to work with a chrome extension that produces html popup messages

If this dialog is from a web extension (not a website) you need to use desktop automation to automate a browser extension.

But I am a bit unsure what the goal here is. Do you want to extract/scrape the text from the “Web page blocked” dialog?