code: def click_exists(self, *args, **kwargs):
          
          if len(args) > 0:
              return self.click_nowait(*args, **kwargs)
          else:
              elem = self(**kwargs)
              if elem.exists:
                  return elem.click()
docs: Click when target exists
          Example usage:
              - click_exists("button.png")
              - click_exists(text="Update")