title: How to capture the text of a notification using Javascript
body: <p>I have been going across various API and pages but have unable to find a way to capture the content (text content) of web page notification and print it on console. There are ways to create a notification, close it but I am not sure how to capture the text of the notification and print on console using Javascript. Can you please help me get out of this fix?</p>