waitForElement method
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,
);
}