I need to be able to capture and print the type of pop-up alert shown in the attached image. I am unable to extract the text from HTML or highlight the text when it pops up.
I tried using inspect element and inspecting HTML. Unfortunately, nothing succeeded.