def is_snapshot_panel(self): """Returns whether this page object represents snapshot Info Panel.""" return info_panel.SnapshotInfoPanel(self._root).snapshot_version_el.present
def panel(self): """Returns info panel.""" if self.is_snapshot_panel: return info_panel.SnapshotInfoPanel(self._root) return info_panel.InfoPanel(self._root)