waitFor abstract method

Future<BrowserWaitResult> waitFor({
  1. String? selector,
  2. String? text,
  3. required int timeoutMs,
  4. int? tabId,
})

Waits until text appears or selector matches, up to timeoutMs.

Implementation

Future<BrowserWaitResult> waitFor({
  String? selector,
  String? text,
  required int timeoutMs,
  int? tabId,
});