in foxpuppet/windows/browser/panel_ui/panel_ui.py [0:0]
def is_update_available(self) -> bool:
"""
Checks if the Panel UI button indicates a pending Firefox update.
Returns:
bool: True if an update notification (barge) is present, False otherwise.
"""
with self.selenium.context(self.selenium.CONTEXT_CHROME):
update_status = self.selenium.find_element(
*PanelUILocators.PANEL_UI_BUTTON
).get_attribute("barged")
return update_status == "true"