def METHOD_NAME(self, text: str):
    """
    iOS: find XCUIElementTypeButton
    :param text:
    :return:
    """
    self.switch_to_app()
    for _ in range(3):
        elem = self.__find(class_name="XCUIElementTypeButton", attribute="name", text=text)
        if elem is not None:
            break
        sleep(1)
    else:
        raise ValueError(f"Unable to find -> {text}")
    return elem