Commit f43e1dfa authored by Seth Ladd's avatar Seth Ladd

Fix instruction when app is missing enableFlutterDriverExtension (#3239)

parent 3e661965
...@@ -118,8 +118,9 @@ class FlutterDriver { ...@@ -118,8 +118,9 @@ class FlutterDriver {
if (signal == 'timeout') { if (signal == 'timeout') {
throw new DriverError( throw new DriverError(
'Timed out waiting for Flutter Driver extension to become available. ' 'Timed out waiting for Flutter Driver extension to become available. '
'To enable the driver extension call registerFlutterDriverExtension ' 'Ensure your test app (often: lib/main.dart) imports '
'first thing in the main method of your application.' '"package:flutter_driver/driver_extension.dart" and '
'calls enableFlutterDriverExtension() as the first call in main().'
); );
} }
} else if (isolate.pauseEvent is VMPauseExitEvent || } else if (isolate.pauseEvent is VMPauseExitEvent ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment