ByAltText topic
getByAltText, queryByAltText, getAllByAltText, queryAllByAltText, findByAltText, findAllByAltText
Functions
-
findAllByAltText<
E extends Element> (Node container, dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) → Future< Async ByAltText QueriesList< E> > -
Returns a list of ImageElements, InputElements and/or AreaElements with the given
textas the value of thealtattribute, defaulting to anexactmatch after waiting1000ms(or the specifiedtimeoutduration). -
findByAltText<
E extends Element> (Node container, dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) → Future< Async ByAltText QueriesE> -
Returns a future with a single ImageElement, InputElement or AreaElement value with the given
textas the value of thealtattribute, defaulting to anexactmatch after waiting1000ms(or the specifiedtimeoutduration). -
getAllByAltText<
E extends Element> (Node container, dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → List< ByAltText QueriesE> -
Returns a list of ImageElements, InputElements and/or AreaElements with the given
textas the value of thealtattribute, defaulting to anexactmatch. -
getByAltText<
E extends Element> (Node container, dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → E ByAltText Queries -
Returns a single ImageElement, InputElement or AreaElement with the given
textas the value of thealtattribute, defaulting to anexactmatch. -
queryAllByAltText<
E extends Element> (Node container, dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → List< ByAltText QueriesE> -
Returns a list of ImageElements, InputElements and/or AreaElements with the given
textas the value of thealtattribute, defaulting to anexactmatch. -
queryByAltText<
E extends Element> (Node container, dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → E? ByAltText Queries -
Returns a single ImageElement, InputElement or AreaElement with the given
textas the value of thealtattribute, defaulting to anexactmatch.