Interface Capabilities

    • Method Detail

      • getBrowserName

        default java.lang.String getBrowserName()
      • getPlatformName

        default Platform getPlatformName()
      • getVersion

        @Deprecated
        default java.lang.String getVersion()
        Deprecated.
      • getBrowserVersion

        default java.lang.String getBrowserVersion()
      • 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:
        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:
        CapabilityType
      • getCapabilityNames

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