Interface PerformsTouchID

    • Method Detail

      • performTouchID

        default void performTouchID​(boolean match)
        Simulate touchId event.
        Parameters:
        match - If true, simulates a successful fingerprint scan. If false, simulates a failed fingerprint scan.
      • toggleTouchIDEnrollment

        default void toggleTouchIDEnrollment​(boolean enabled)
        Enrolls touchId in iOS Simulators. This call will only work if Appium process or its parent application (e.g. Terminal.app or Appium.app) has access to Mac OS accessibility in System Preferences > Security & Privacy > Privacy > Accessibility list.
        Parameters:
        enabled - Whether to enable or disable Touch ID Enrollment. The actual state of the feature will only be changed if the current value is different from the previous one. Multiple calls of the method with the same argument value have no effect.