UNPKG

webdriverio-workflo

Version:

This is a customized version of webdriverio for use with workflo framework.

31 lines (30 loc) 804 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = toggleTouchIdEnrollment; /** * * Toggle enroll touchId for IOS Simulator * * <example> :touchId.js it('should enroll touchId on simulator', function () { browser.toggleTouchIdEnrollment(); // toggles touchId enrollment }); * </example> * * @param {Boolean} match if true the command simulates a valid fingerprint * * @type mobile * @for ios * @see https://github.com/appium/appium-base-driver/blob/master/docs/mjsonwp/protocol-methods.md * */ function toggleTouchIdEnrollment() { return this.requestHandler.create({ path: '/session/:sessionId/appium/simulator/toggle_touch_id_enrollment', method: 'POST' }); } module.exports = exports['default'];