Exemple #1
0
 def __init__(self, driver, container_element):
   super(AbstractTabContainer, self).__init__(driver)
   self.container_element = container_element
   self._locators = self._get_locators()
   from lib.element.elements_list import TabController
   self._tab_controller = TabController(
       self._driver, self._locators.TAB_CONTROLLER)
   self.tabs = self._tabs()
Exemple #2
0
 def tab_controller(self):
   """Lazy property for dashboard controller."""
   from lib.element.elements_list import TabController
   return TabController(self._driver, self._locators.TAB_CONTROLLER_CSS)