How to handle Web UI Notification permission promt

How to implement each button?

If you would like to disable notifications and prevent the prompt from appearing, you can add the following to your DesiredCapabilities:

I need test things when press buttons Denied, Allow, X button