#NEWLINE# def find_element( self , by = By . ID , value = None ) : #NEWLINE# #INDENT# "\n        'Private' method used by the find_element_by_* methods.\n\n        :Usage:\n            Use the corresponding find_element_by_* instead of this.\n\n        :rtype: WebElement\n        " #NEWLINE# if ( ( not By . is_valid ( by ) ) or ( not isinstance ( value , str ) ) ) : #NEWLINE# #INDENT# raise InvalidSelectorException ( 'Invalid locator values passed in' ) #NEWLINE# #UNINDENT# return self . execute ( Command . FIND_ELEMENT , { #NEWLINE# #INDENT# 'using' : by , #NEWLINE# 'value' : value , #NEWLINE# #UNINDENT# } ) [ 'value' ]