INNER CODE UNIT · Java

AppiumBy

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

public abstract class AppiumBy extends By implements Remotable {

    @Getter
    private final Parameters remoteParameters;
    private final String locatorName;

    protected AppiumBy(String selector, String locatorString, String locatorName) {
        Preconditions.checkArgument(!isNullOrEmpty(locatorString), "Must supply a not empty locator value.");
        this.remoteParameters = new Parameters(selector, locatorString);
        this.locatorName = locatorName;
    }

    @Override
    public List<WebElement> findElements(SearchContext context) {
        return context.findElements(this);
    }

    @Override

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…