fdutils/selenium_util/pageobject.py
def _get_section_by_module(self, module_name, parent=None, **kwargs):
        """ gets the page object section usually coming from a property in a page object class 

            kwargs can have the 
        """

        section_name = self.page_object_modules_format.format(module_name)

        if section_name not in self.root._sections:

            import importlib

            kwargs['parent'] = parent or self

            kwargs.setdefault('section_name', section_name)

            module = importlib.import_module(section_name)
            section_class = getattr(module,
                                    self.default_section_main_class_name,
                                    None)
            if section_class is None:
                section_class = getattr(module, DEFAULT_MENU_FACTORY_CLASS)

            self.root._sections[section_name] = self.get_page_object(section_class, **kwargs)
            if not self.root._sections[section_name].section_name:
                self.root._sections[section_name].section_name = section_name

        return self.root._sections[section_name]
 gets the page object section usually coming from a property in a page object class 

            kwargs can have the 
        
gets the page object section usually coming from a property in a page object class
kwargs can have the
gets the page object section usually coming from a property in a page object class kwargs can have the
def _get_section_by_module(self, module_name, parent=None, **kwargs):
        section_name = self.page_object_modules_format.format(module_name)
        if section_name not in self.root._sections:
            import importlib
            kwargs['parent'] = parent or self
            kwargs.setdefault('section_name', section_name)
            module = importlib.import_module(section_name)
            section_class = getattr(module,
                                    self.default_section_main_class_name,
                                    None)
            if section_class is None:
                section_class = getattr(module, DEFAULT_MENU_FACTORY_CLASS)
            self.root._sections[section_name] = self.get_page_object(section_class, **kwargs)
            if not self.root._sections[section_name].section_name:
                self.root._sections[section_name].section_name = section_name
        return self.root._sections[section_name]
def _get_section_by_module ( self , module_name , parent = None , ** kwargs ) : section_name = self . page_object_modules_format . format ( module_name ) if section_name not in self . root . _sections : import importlib kwargs [ 'parent' ] = parent or self kwargs . setdefault ( 'section_name' , section_name ) module = importlib . import_module ( section_name ) section_class = getattr ( module , self . default_section_main_class_name , None ) if section_class is None : section_class = getattr ( module , DEFAULT_MENU_FACTORY_CLASS ) self . root . _sections [ section_name ] = self . get_page_object ( section_class , ** kwargs ) if not self . root . _sections [ section_name ] . section_name : self . root . _sections [ section_name ] . section_name = section_name return self . root . _sections [ section_name ]
gets the page object section usually coming from a property in a page object class
kwargs can have the
gets the page object section usually coming from a property in a page object class kwargs can have the
""" gets the page object section usually coming from a property in a page object class 

            kwargs can have the 
        """
self
module_name
parent