testbuilder/interface/selenium/interface.py
def Click(self, step_context):
        """Clicks a selenium webelement
        
        Arguments:
            step_context {StepContext} -- The current step context
        """

        xpath = step_context.step_argument_1_mapped

        self.Exist(step_context)
        
        for _ in range(self.retries): # Exist sometimes fails, retry to click element
            try:
                element = self.driver.find_element_by_xpath(xpath)
                element.click()
                break
            except WebDriverException:
                time.sleep(float(self.implicit_wait)/self.retries)
                continue
        else:
            raise Exception("Could not click on element")
Clicks a selenium webelement
        
        Arguments:
            step_context {StepContext} -- The current step context
        
Clicks a selenium webelement
Arguments:
step_context {StepContext} -- The current step context
Clicks a selenium webelement Arguments : step_context { StepContext } -- The current step context
def Click(self, step_context):
        xpath = step_context.step_argument_1_mapped
        self.Exist(step_context)
        for _ in range(self.retries): 
            try:
                element = self.driver.find_element_by_xpath(xpath)
                element.click()
                break
            except WebDriverException:
                time.sleep(float(self.implicit_wait)/self.retries)
                continue
        else:
            raise Exception("Could not click on element")
def Click ( self , step_context ) : xpath = step_context . step_argument_1_mapped self . Exist ( step_context ) for _ in range ( self . retries ) : try : element = self . driver . find_element_by_xpath ( xpath ) element . click ( ) break except WebDriverException : time . sleep ( float ( self . implicit_wait ) / self . retries ) continue else : raise Exception ( "Could not click on element" )
Clicks a selenium webelement
Arguments:
step_context {StepContext} -- The current step context
Clicks a selenium webelement Arguments : step_context { StepContext } -- The current step context
"""Clicks a selenium webelement
        
        Arguments:
            step_context {StepContext} -- The current step context
        """ # Exist sometimes fails, retry to click element
self
step_context