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)
Constructor for WebDriverCommandType.noop screenshot.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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 non-existent 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. [...]