Interface SupportsDeviceNameOption<T extends BaseOptions<T>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEVICE_NAME_OPTION  
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getDeviceName()
      Get the name of the device.
      default T setDeviceName​(java.lang.String deviceName)
      Set the name of the device.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
    • Field Detail

    • Method Detail

      • setDeviceName

        default T setDeviceName​(java.lang.String deviceName)
        Set the name of the device.
        Parameters:
        deviceName - is the name of the device.
        Returns:
        self instance for chaining.
      • getDeviceName

        default java.util.Optional<java.lang.String> getDeviceName()
        Get the name of the device.
        Returns:
        String representing the name of the device.