diff --git a/commands-yml/commands/device/authentication/finger_print.yml b/commands-yml/commands/device/authentication/finger_print.yml new file mode 100644 index 000000000..a2b35de26 --- /dev/null +++ b/commands-yml/commands/device/authentication/finger_print.yml @@ -0,0 +1,81 @@ +--- +name: Finger print +short_description: Authenticate users by using their finger print scans on supported emulators. + +description: + | + For Android emulator. + Authenticate users by using their finger print scans. + + Touch ID by iOS is [here](http://appium.io/docs/en/commands/device/simulator/touch-id/) + +example_usage: + java: + | + driver.fingerPrint(1); + python: + | + self.driver.finger_print(1) + javascript_wd: + | + await driver.fingerprint(1); + javascript_wdio: + | + await driver.fingerprint(1); + ruby: + | + @driver.finger_print 1 + php: + | + // PHP Code here + csharp: + | + // CSharp Code here + +client_docs: + java: "https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/WebElement.html#click--" + python: "https://github.com/appium/python-client/blob/07180f7547ffcd13c212de21d027ea0355f9ab96/appium/webdriver/webdriver.py#L1390" + javascript_wdio: "https://github.com/appium/appium-android-driver/blob/d16c7161d92ab6f6c9cec3f22218219ac3659716/lib/commands/actions.js#L260" + javascript_wd: "https://github.com/appium/appium-android-driver/blob/d16c7161d92ab6f6c9cec3f22218219ac3659716/lib/commands/actions.js#L260" + ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/master/Appium/Core/Android/Device#finger_print-instance_method" + php: + csharp: + +# Driver support by platform +driver_support: + ios: + xcuitest: false + uiautomation: false + android: + espresso: true + uiautomator2: true + uiautomator: true + mac: + mac: false + windows: + windows: false +client_support: + java: true + python: true + ruby: true + php: false + csharp: false + javascript_wd: true + javascript_wdio: true + + +# Information about the HTTP endpoints +endpoint: + url: /session/:session_id/appium/device/finger_print + method: 'POST' + url_parameters: + - name: session_id + description: ID of the session to route the command to + json_parameters: + - name: fingerprintId + type: number + description: finger prints stored in Android Keystore system (from 1 to 10) + +# Links to specifications. Should link to at least one specification +specifications: + jsonwp: https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L379 diff --git a/commands-yml/commands/device/simulator/touch-id.yml b/commands-yml/commands/device/simulator/touch-id.yml index 27577349f..d9f83af4f 100644 --- a/commands-yml/commands/device/simulator/touch-id.yml +++ b/commands-yml/commands/device/simulator/touch-id.yml @@ -11,6 +11,8 @@ description: 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 + Finger Pring by Android is [here](http://appium.io/docs/en/commands/device/authentication/finger_print/) + example_usage: java: