code: def click_nowait(self, pattern, action='click', desc=None, **match_kwargs):
          
          point = self.match(pattern, **match_kwargs)
          if not point or not point.matched:
              return None
  
          func = getattr(self, action)
          func(*point.pos)
          return point
docs: Return immediately if no image found
  
          Args:
              - pattern (str or Pattern): filename or an opencv image object.
              - action (str): click or long_click
  
          Returns:
              Click point or None