def __init__(self, driver=None): super(_ObjectWidgetBar, self).__init__(driver) self.tab_info = base.Tab(self._driver, locator.WidgetBar.INFO)
def __init__(self, driver): super(_ObjectWidgetBar, self).__init__(driver) self.button_add_widget = base.Dropdown(driver, locator.WidgetBar.BUTTON_ADD) self.tab_info = base.Tab(self._driver, locator.WidgetBar.INFO)
def tab_info(self): """Returns Info widget/tab.""" return base.Tab(self._driver, locator.WidgetBar.INFO)