ByText topic
getByText, queryByText, getAllByText, queryAllByText, findByText, findAllByText
Functions
-
findAllByText<
E extends Element> (Node container, dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, dynamic ignore = 'script', Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) → Future< Async ByText QueriesList< E> > -
Returns a list of elements with the given
text
content, defaulting to anexact
match after waiting 1000ms (or the providedtimeout
duration). -
findByText<
E extends Element> (Node container, dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, dynamic ignore = 'script', Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) → Future< Async ByText QueriesE> -
Returns a future with a single element value with the given
text
content, defaulting to anexact
match after waiting 1000ms (or the providedtimeout
duration). -
getAllByText<
E extends Element> (Node container, dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, dynamic ignore = 'script'}) → List< ByText QueriesE> -
Returns a list of elements with the given
text
content, defaulting to anexact
match. -
getByText<
E extends Element> (Node container, dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, dynamic ignore = 'script'}) → E ByText Queries -
Returns a single element with the given
text
content, defaulting to anexact
match. -
queryAllByText<
E extends Element> (Node container, dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, dynamic ignore = 'script'}) → List< ByText QueriesE> -
Returns a list of elements with the given
text
content, defaulting to anexact
match. -
queryByText<
E extends Element> (Node container, dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, dynamic ignore = 'script'}) → E? ByText Queries -
Returns a single element with the given
text
content, defaulting to anexact
match.