def task_group_titles(workflow): """Returns task group titles of `workflow`.""" selenium_utils.open_url(url.obj_tab_url(workflow, "Setup")) return [item.title() for item in tree_widget.TreeWidget().tree_items()]
def open_via_url(self, obj): """Opens the tab via URL.""" selenium_utils.open_url(url.obj_tab_url(obj, self._url_fragment())) self.wait_to_be_init()