toggleEnrollTouchId
Toggle Touch ID enrollment on iOS Simulator.
Note: Falls back to the deprecated Appium 2 protocol endpoint if the driver does not support the
mobile:execute method.
참고
This command requires the allowTouchIdEnroll capability to be set to true in the session.
It is only supported on iOS Simulator. When enabled is not provided, it defaults to true.
Usage
await browser.toggleEnrollTouchId(enabled)
Parameters
| Name | Type | Details |
|---|---|---|
enabledoptional | boolean | Whether to enable (true) or disable (false) Touch ID enrollment. Defaults to true. |