def history_items()

in foxpuppet/windows/browser/panel_ui/panel_ui.py [0:0]


    def history_items(self) -> list[WebElement]:
        """
        Retrieves all history items from the Panel UI history menu.

        Returns:
            list[WebElement]: List of WebElement objects representing history items.
                Returns an empty list if no history items are found.
        """
        with self.selenium.context(self.selenium.CONTEXT_CHROME):
            history_items = self.selenium.find_elements(
                *PanelUILocators.RECENT_HISTORY_ITEMS
            )
            return history_items