Interface Capabilities

    • Method Detail

      • getBrowserName

        default java.lang.String getBrowserName()
      • getPlatform

        default Platform getPlatform()
      • getVersion

        default java.lang.String getVersion()
      • asMap

        java.util.Map<java.lang.String,​java.lang.Object> asMap()
        Returns:
        The capabilities as a Map.
      • getCapability

        java.lang.Object getCapability​(java.lang.String capabilityName)
        Parameters:
        capabilityName - The capability to return.
        Returns:
        The value, or null if not set.
        See Also:
        org.openqa.selenium.remote.CapabilityType
      • is

        default boolean is​(java.lang.String capabilityName)
        Parameters:
        capabilityName - The capability to check.
        Returns:
        Whether or not the value is not null and not false.
        See Also:
        org.openqa.selenium.remote.CapabilityType
      • getCapabilityNames

        default java.util.Set<java.lang.String> getCapabilityNames()