接口 Capabilities

所有已知实现类:
CapabilitiesImpl

public interface Capabilities
  • 字段详细资料

  • 方法详细资料

    • getBrowser

      String getBrowser()
      Returns the browser value (e.g. Chrome)
      返回:
      the browser
    • getBrowserType

      String getBrowserType()
      Returns the browser type (e.g. Browser or Application)
      返回:
      the browser type
    • getBrowserMajorVersion

      String getBrowserMajorVersion()
      Returns the major version of the browser (e.g. 55 in case of Chrome)
      返回:
      the browser major version
    • getPlatform

      String getPlatform()
      Returns the platform name (e.g. Android, iOS, Win7, Win10)
      返回:
      the platform
    • getPlatformVersion

      String getPlatformVersion()
      Returns the platform version (e.g. 4.2, 10 depending on what the platform is)
      返回:
      the platform version
    • getDeviceType

      String getDeviceType()
      Returns the device type (e.g. Mobile Phone, Desktop, Tablet, Console, TV Device)
      返回:
      the device type
    • getValue

      String getValue(BrowsCapField field)
      Returns the value for the specified field.
      参数:
      field - The field for which the value should be returned.
      返回:
      the value for the specified field.
    • getValues

      Map<BrowsCapField,String> getValues()
      Returns the Map of values with the fields passed to the parser while loading
      返回:
      the map of values