pub trait Expectable<'a> {
type Assertions;
// Required method
fn assertions(&'a self) -> Self::Assertions;
}Expand description
Trait for creating assertions from different types.
This enables a unified expect() function that works with both
locators and pages.
Required Associated Types§
Sourcetype Assertions
type Assertions
The assertion builder type for this value.
Required Methods§
Sourcefn assertions(&'a self) -> Self::Assertions
fn assertions(&'a self) -> Self::Assertions
Create an assertion builder for this value.