findByRole
Future<
Waits for element with role to appear.
Implementation
Future<DomNode> findByRole(
String role, {
String? name,
Duration timeout = const Duration(seconds: 1),
}) => _waitFor(() => getByRole(role, name: name), timeout);
Future<
Waits for element with role to appear.
Future<DomNode> findByRole(
String role, {
String? name,
Duration timeout = const Duration(seconds: 1),
}) => _waitFor(() => getByRole(role, name: name), timeout);