WebFlutterDriver.connectedTo constructor
- FlutterWebConnection _connection, {
- bool printCommunication = false,
- bool logCommunicationToFile = true,
Creates a driver that uses a connection provided by the given
_connection
.
Implementation
WebFlutterDriver.connectedTo(
this._connection, {
bool printCommunication = false,
bool logCommunicationToFile = true,
}) : _printCommunication = printCommunication,
_logCommunicationToFile = logCommunicationToFile,
_startTime = DateTime.now(),
_driverId = _nextDriverId++
{
_logFilePathName = path.join(testOutputsDirectory, 'flutter_driver_commands_$_driverId.log');
}