How to use fingerPrintCommand method of io.appium.java_client.android.AndroidMobileCommandHelper class

Best io.appium code snippet using io.appium.java_client.android.AndroidMobileCommandHelper.fingerPrintCommand

Run io.appium automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

AuthenticatesByFinger.java

Source: AuthenticatesByFinger.java Github

copy
1package io.appium.java_client.android;
2
3import static io.appium.java_client.android.AndroidMobileCommandHelper.fingerPrintCommand;
4
5import io.appium.java_client.CommandExecutionHelper;
6import io.appium.java_client.ExecutesMethod;
7
8public interface AuthenticatesByFinger extends ExecutesMethod {
9
10    /**
11     * Authenticate users by using their finger print scans on supported emulators.
12     *
13     * @param fingerPrintId finger prints stored in Android Keystore system (from 1 to 10)
14     */
15    default void fingerPrint(int fingerPrintId) {
16        CommandExecutionHelper.execute(this, fingerPrintCommand(fingerPrintId));
17    }
18}
19
Full Screen

Accelerate Your Automation Test Cycles With LambdaTest

Leverage LambdaTest’s cloud-based platform to execute your automation tests in parallel and trim down your test execution time significantly. Your first 100 automation testing minutes are on us.

Try LambdaTest
LambdaTestX

We use cookies to give you the best experience. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. Learn More in our Cookies policy, Privacy & Terms of service

Allow Cookie
Sarah

I hope you find the best code examples for your project.

If you want to accelerate automated browser testing, try LambdaTest. Your first 100 automation testing minutes are FREE.

Sarah Elson (Product & Growth Lead)