WebDriverCommand class

Command for WebDriver to execute.

Only works on Web when tests are run via flutter driver command.

See: https://www.w3.org/TR/webdriver/

Constructors

WebDriverCommand.noop()
Constructor for WebDriverCommandType.noop command.
WebDriverCommand.screenshot(String screenshotName, [Map<String, Object?>? args])
Constructor for WebDriverCommandType.noop screenshot.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type WebDriverCommandType
Type of the WebDriverCommand.
final
values Map<String, dynamic>
Used for adding extra values to the commands such as file name for screenshot.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

typeToMap(WebDriverCommandType type) Map<String, dynamic>
Util method for converting WebDriverCommandType to a map entry.