Control google chrome popups (dialog

hello everyone, how can I control the dialogs in the google chrome window and read what the window says like this:

thanks you a lot

i found this, and help me with my issue

I hope someone receives help in this publication, how it helped me