waitForAbsent method

Future<void> waitForAbsent (SerializableFinder finder, { Duration timeout })

Waits until finder can no longer locate the target.

Implementation

Future<void> waitForAbsent(SerializableFinder finder, {Duration timeout}) async {
  timeout ??= _shortTimeout(timeoutMultiplier);
  await _sendCommand(WaitForAbsent(finder, timeout: timeout));
}