Unverified Commit a0784053 authored by darshankawar's avatar darshankawar Committed by GitHub

Link the API docs on waitFor() to the docs for runUnsynchronized() (#69761)

parent d35dd9f8
......@@ -205,6 +205,14 @@ abstract class FlutterDriver {
}
/// Waits until [finder] locates the target.
///
/// The [finder] will wait until there is no pending frame scheduled
/// in the app under test before executing an action.
///
/// See also:
///
/// * [FlutterDriver.runUnsynchronized], which will execute an action
/// with frame sync disabled even while frames are pending.
Future<void> waitFor(SerializableFinder finder, { Duration timeout }) async {
await sendCommand(WaitFor(finder, timeout: timeout));
}
......
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