Interface SupportsFlutterSystemPortOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.Integer> getFlutterSystemPort()
      Get the number of the port Flutter server starts on the system.
      default T setFlutterSystemPort​(int flutterSystemPort)
      Set the port where Flutter server starts.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • FLUTTER_SYSTEM_PORT_OPTION

        static final java.lang.String FLUTTER_SYSTEM_PORT_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • setFlutterSystemPort

        default T setFlutterSystemPort​(int flutterSystemPort)
        Set the port where Flutter server starts.
        Parameters:
        flutterSystemPort - is the port number
        Returns:
        self instance for chaining.
      • getFlutterSystemPort

        default java.util.Optional<java.lang.Integer> getFlutterSystemPort()
        Get the number of the port Flutter server starts on the system.
        Returns:
        Port number