All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.rationaleemotions.pojos.IndividualCapability Maven / Gradle / Ivy

Go to download

A Grid Helper library that exposes the Grid's http APIs via simple to use APIs

The newest version!
package com.rationaleemotions.pojos;

/**
 * A Simple POJO that represents a supported capability by a node.
 */
public class IndividualCapability {

    private String browserName;
    private String seleniumProtocol;
    private int maxInstances;
    private String platform;

    /**
     * @return - The browser flavor
     */
    public String getBrowserName() {
        return browserName;
    }

    /**
     * @return - The selenium protocol (either selenium protocol (or) the webdriver protocol)
     */
    public String getSeleniumProtocol() {
        return seleniumProtocol;
    }

    /**
     * @return - The maximum instances for the browser flavor.
     */
    public int getMaxInstances() {
        return maxInstances;
    }

    /**
     * @return - The Platform on which the node is configured to support the browser flavor.
     */
    public String getPlatform() {
        return platform;
    }

    @Override
    public String toString() {
        return String.format("Capability{browserName='%s', seleniumProtocol='%s', maxInstances=%d,, platform='%s'}"
            , getBrowserName(), getSeleniumProtocol(), getMaxInstances(), getPlatform());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy