in foxpuppet/windows/browser/notifications/base.py [0:0]
def find_description(self) -> WebElement | Any:
"""Retrieve the notification description."""
if self.window.firefox_version >= 67:
return self.root.find_element(By.CLASS_NAME, "popup-notification-description")
return self.root.find_anonymous_element_by_attribute(
"class", "popup-notification-description"
)