Interface SupportsAdbPortOption<T extends BaseOptions<T>>

    • Field Summary

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

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.Integer> getAdbPort()
      Get number of the port where ADB is running.
      default T setAdbPort​(int port)
      Set number of the port where ADB is running.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • setAdbPort

        default T setAdbPort​(int port)
        Set number of the port where ADB is running. 5037 by default
        Parameters:
        port - port number in range 0..65535
        Returns:
        self instance for chaining.
      • getAdbPort

        default java.util.Optional<java.lang.Integer> getAdbPort()
        Get number of the port where ADB is running.
        Returns:
        Adb port value