Struct augdom::testing::Finder[][src]

pub struct Finder<'n, N> { /* fields omitted */ }
Expand description

Executes a search strategy over a DOM container’s subtree via depth-first pre-order traversal.

Implementations

Find by label’s or aria-label’s normalized text content.

The default choice for selecting form elements as it most closely mirrors how users interact with forms.

Find by input’s placeholder value.

Used for form fields, choose if Finder::by_label_text is not available.

Find by aria role.

The default choice for interactive elements like buttons.

Find by element’s normalized text content.

Find by form element’s current value.

Find by img’s alt attribute.

Find by title attribute’s or svg title tag’s normalized text content.

Find by data-testid attribute. Not visible to humans, only use as a last resort.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Call op within the context of a Layer containing self.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more