in foxpuppet/windows/browser/notifications/addons.py [0:0]
def close(self) -> None:
"""Close the notification."""
with self.selenium.context(self.selenium.CONTEXT_CHROME):
if self.window.firefox_version > 63:
self.find_primary_button().click()
self.window.wait_for_notification(None)
else:
BaseNotification.close(self)