INNER CODE UNIT · Java

id

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

    public static By id(final String selector) {
        return new ById(selector);
    }

    /**
     * For IOS the element name.
     * For Android it is the resource identifier.
     *
     * @param selector element id
     * @return an instance of {@link ByName}
     */
    public static By name(final String selector) {
        return new ByName(selector);
    }

    /**
     * This type of locator requires the use of the 'customFindModules' capability and a
     * separately-installed element finding plugin.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…