pub mod locator;
pub mod page;
pub mod value;
pub use ferridriver_expect::{
ASYM_TAG_KEY, AssertionFailure, Asymmetric, CallerLocation, DEFAULT_EXPECT_TIMEOUT, Expect, ExpectContext, ExpectFn,
ExpectPoll, ExpectValue, HaveCssOptions, InViewportOptions, MatchError, POLL_INTERVALS, StringOrRegex, ThrowMatcher,
ThrownError, ToPassOptions, TypeTag, deep_equal, expect, expect_configured, expect_fn, expect_poll, expect_value,
json_diff, match_object, pretty_json, to_pass, to_pass_with_options, unified_diff,
};
pub use locator::LocatorSnapshotMatchers;
pub use page::PageSnapshotMatchers;
#[derive(Debug, Clone, Default)]
pub struct ScreenshotMatcherOptions {
pub threshold: Option<f64>,
pub max_diff_pixels: Option<u64>,
pub max_diff_pixel_ratio: Option<f64>,
pub mask_color: Option<String>,
pub animations: Option<String>,
pub caret: Option<String>,
pub scale: Option<String>,
pub style_path: Option<std::path::PathBuf>,
pub clip: Option<ScreenshotClip>,
pub mask: Vec<String>,
pub ignore: bool,
}
#[derive(Debug, Clone, Copy, Default)]
pub struct ScreenshotClip {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
}