Interface SupportsFlutterSystemPortOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
FlutterDriverOptions
public interface SupportsFlutterSystemPortOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FLUTTER_SYSTEM_PORT_OPTION
-
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 io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
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
-
-