fdutils/selenium_util/pageobject.py
def clicks_to_section(self, clicks, force=False):
        """ clicks on a series of menu-related links usually to go to a page object section in the site
        
         Args:
             clicks (list): list of string locators (don't use site locators here as the comparison will break it)
             force (bool): flag to indicate if we want to reclick on a menu that was already clicked at earlier
        """

        new_clicks = []

        for is_new, element in self.iterate_over_clicks_check_history(clicks, force):
            if is_new:
                from selenium.webdriver.common.by import By
                self.sel_util.click_element(element, default_by=By.LINK_TEXT)
                try:
                    self.wait_for_loading_indicator_to_disappear()
                except Exception:
                    log.exception('Problems with loading indicator maybe not properly located')
            new_clicks.append(element)
        self.root._menu_clicks_history = new_clicks
        return self
 clicks on a series of menu-related links usually to go to a page object section in the site
        
         Args:
             clicks (list): list of string locators (don't use site locators here as the comparison will break it)
             force (bool): flag to indicate if we want to reclick on a menu that was already clicked at earlier
        
clicks on a series of menu-related links usually to go to a page object section in the site
clicks on a series of menu - related links usually to go to a page object section in the site
def clicks_to_section(self, clicks, force=False):
        new_clicks = []
        for is_new, element in self.iterate_over_clicks_check_history(clicks, force):
            if is_new:
                from selenium.webdriver.common.by import By
                self.sel_util.click_element(element, default_by=By.LINK_TEXT)
                try:
                    self.wait_for_loading_indicator_to_disappear()
                except Exception:
                    log.exception('Problems with loading indicator maybe not properly located')
            new_clicks.append(element)
        self.root._menu_clicks_history = new_clicks
        return self
def clicks_to_section ( self , clicks , force = False ) : new_clicks = [ ] for is_new , element in self . iterate_over_clicks_check_history ( clicks , force ) : if is_new : from selenium . webdriver . common . by import By self . sel_util . click_element ( element , default_by = By . LINK_TEXT ) try : self . wait_for_loading_indicator_to_disappear ( ) except Exception : log . exception ( 'Problems with loading indicator maybe not properly located' ) new_clicks . append ( element ) self . root . _menu_clicks_history = new_clicks return self
clicks on a series of menu-related links usually to go to a page object section in the site
clicks on a series of menu - related links usually to go to a page object section in the site
""" clicks on a series of menu-related links usually to go to a page object section in the site
        
         Args:
             clicks (list): list of string locators (don't use site locators here as the comparison will break it)
             force (bool): flag to indicate if we want to reclick on a menu that was already clicked at earlier
        """
self
clicks
list of string locators (don't use site locators here as the comparison will break it)
list of string locators ( don ' t use site locators here as the comparison will break it )
force
flag to indicate if we want to reclick on a menu that was already clicked at earlier
flag to indicate if we want to reclick on a menu that was already clicked at earlier