title: How to capture notifications in a WKWebView?
body: <p>I'm working on a macOS desktop app in Swift 4.<br>
  It has a WKWebView which loads up a web page that sends notifications.<br>
  None of the notifications are shown by default and there's also no permission request.</p>
  
  <p>I need a way to show the notifications and intercept them, so that I can show a counter.</p>
  
  <p>Any idea how to achieve this? </p>