def element_find(self,locator,requireRaise=True):
        """ General function to find single element, it will return this element.
        
        If it matchs more than one element, it will return the first one.
                
        *requireRaise* argument normally is not required.
        
        Example:
        | ${Element}= | Element Find | ${element_locator}   |
        
        """
        
        element=self._element_finder.find(locator)
        if not requireRaise and len(element)==0:
            return None
        if requireRaise and len(element)==0:
            raise ValueError(locator%"Element locator '%s' did not match any element.")
        return element[0]
dataset/ETHPy150Open luisxiaomai/robotframework-anywherelibrary/src/AnywhereLibrary/base/element.py/Element.element_find/swapped operands of `%`