INNER CODE UNIT · Java

custom

appium/java-client · src/main/java/io/appium/java_client/AppiumBy.java:163

    public static By custom(final String selector) {
        return new ByCustom(selector);
    }

    /**
     * This locator strategy is available only if OpenCV libraries and
     * Node.js bindings are installed on the server machine.
     *
     * @param b64Template base64-encoded template image string. Supported image formats are the same
     *                    as for OpenCV library.
     * @return an instance of {@link ByImage}
     * @see <a href="https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/image-comparison.md">
     *     The documentation on Image Comparison Features</a>
     * @see <a href="https://github.com/appium/appium-base-driver/blob/master/lib/basedriver/device-settings.js">
     *     The settings available for lookup fine-tuning</a>
     * @since Appium 1.8.2
     */
    public static By image(final String b64Template) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…