waitForElement method

Future<bool> waitForElement(
  1. String selector, {
  2. int timeoutMillis = 10000,
})

Waits for an element to be present in the DOM

Implementation

Future<bool> waitForElement(
  String selector, {
  int timeoutMillis = 10000,
}) async {
  return await _browser.waitForElement(
    selector,
    timeoutMillis: timeoutMillis,
  );
}