Expectable

Trait Expectable 

Source
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§

Source

type Assertions

The assertion builder type for this value.

Required Methods§

Source

fn assertions(&'a self) -> Self::Assertions

Create an assertion builder for this value.

Implementations on Foreign Types§

Source§

impl<'a> Expectable<'a> for Locator<'a>

Implementors§