WebCallbackManager class Null safety
Manages communication between integration_tests
and the driver_tests
.
Along with responding to callbacks from the driver side this calls enables usage of Web Driver commands by sending WebDriverCommands to driver side.
Tests can execute an Web Driver commands such as screenshot
using browsers'
WebDriver APIs.
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
callback(
Map< String, String> params, IntegrationTestResults testRunner) → Future<Map< String, dynamic> > -
The callback function to response the driver side input.
override
-
cleanup(
) → void -
Cleanup and completers or locks used during the communication.
override
-
convertFlutterSurfaceToImage(
) → Future< void> -
Android only. Converts the Flutter surface to an image view.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
takeScreenshot(
String screenshotName) → Future< Map< String, dynamic> > -
Takes screenshot using WebDriver screenshot command.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited