FlutterWebConnection class Null safety
Encapsulates connection information to an instance of a Flutter Web application.
Constructors
- FlutterWebConnection(WebDriver _driver, bool supportsTimelineAction)
- Creates a FlutterWebConnection with WebDriver and whether the WebDriver supports timeline action.
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
logs
→ Stream<
LogEntry> -
Gets performance log from WebDriver.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- supportsTimelineAction ↔ bool
-
Whether the connected WebDriver supports timeline action for Flutter Web Driver.
read / write
Methods
-
close(
) → Future< void> - Closes the WebDriver.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
screenshot(
) → Future< List< int> > - Takes screenshot via WebDriver.
-
sendCommand(
String script, Duration? duration) → Future - Sends command via WebDriver to Flutter web application.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited