parameters: (self,driver,para_list,is_displayed=True,index=0,text='')
docstring: Find element using the given condition..
  
          :param driver:
          :param para_list: [method, value] eg : ['id','add_btn']
          :param is_displayed: True : Only the element shown on the page will be returned.    False: Element will also be returned no matter is shown or hidden.
          :param index: If more than one element is found, driver will return the specified element by index.  e.g: element 0,1,2 is found and the index is set to by 2, the element 2 will be returned.
          :param text: Only the element contains the specified text will be returned.
          :return: Found element.
docstring_summary: Find element using the given condition..
docstring_tokens: Find element using the given condition ..
function: def find_element(self,driver,para_list,is_displayed=True,index=0,text=''):
          """
          Find element using the given condition..
  
          :param driver:
          :param para_list: [method, value] eg : ['id','add_btn']
          :param is_displayed: True : Only the element shown on the page will be returned.    False: Element will also be returned no matter is shown or hidden.
          :param index: If more than one element is found, driver will return the specified element by index.  e.g: element 0,1,2 is found and the index is set to by 2, the element 2 will be returned.
          :param text: Only the element contains the specified text will be returned.
          :return: Found element.
          """
          elements = self.find_elements(driver,para_list,is_displayed=is_displayed,text=text)
          if len(elements)>0 and index < len(elements):
              return elements[index]
          else:
              return elements[0]
function_tokens: def find_element ( self , driver , para_list , is_displayed = True , index = 0 , text = '' ) : elements = self . find_elements ( driver , para_list , is_displayed = is_displayed , text = text ) if len ( elements ) > 0 and index < len ( elements ) : return elements [ index ] else : return elements [ 0 ]