Provides API to test Flutter applications that run on real devices and emulators.

The application runs in a separate process from the test itself.

This is Flutter's version of Selenium WebDriver (generic web), Protractor (Angular), Espresso (Android) or Earl Gray (iOS).

Constants

find CommonFinders

A convenient accessor to frequently used finders.

const CommonFinders._()

Typedefs

EvaluatorFunction() → dynamic

Computes a value.

Properties

flutterDriverLog Stream<LogRecord>

Emits log records from Flutter Driver.

read-only
testOutputsDirectory String

Flutter Driver test ouputs directory.

read-only

Enums

HealthStatus

Application health status.

LogLevel

Severity of a log entry.

TimelineStream

Timeline stream identifier.

Classes

Command

An object sent from the Flutter Driver to a Flutter application to instruct the application to perform a task.

CommonFinders

Provides convenient accessors to frequently used finders.

FlutterDriver

Drives a Flutter Application running in another process.

GetTextResult

The result of the GetText command.

Health

Application health status.

LogRecord

A log entry.

Result

An object sent from a Flutter application back to the Flutter Driver in response to a command.

SerializableFinder

Describes how to the driver should search for elements.

Timeline

Timeline data recorded by the Flutter runtime.

TimelineEvent

A single timeline event.

TimelineSummary

Extracts statistics from a Timeline.

Exceptions / Errors

DriverError

Standard error thrown by Flutter Driver API.