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