touchId

Simulate Touch ID with either valid (match == true) or invalid (match == false) fingerprint.

Usage

1
browser.touchId(match);

Parameters

Param Type Details
match Boolean if true the command simulates a valid fingerprint

Example

touchId.js
1
2
3
4
5
it('should simulate fingerprint', function () {
browser.touchId(); // simulates valid fingerprint
browser.touchId(true); // simulates valid fingerprint
browser.touchId(false); // simulates invalid fingerprint
});

Support

Support for ios