pub struct Config {
pub test_id_attribute: String,
pub default_hidden: bool,
pub default_ignore: String,
pub show_original_stack_trace: bool,
pub throw_suggestions: bool,
pub get_element_error: Arc<GetElementErrorFn>,
}
Fields§
§test_id_attribute: String
Default value for the hidden
option in by_role
queries.
default_ignore: String
Default value for the ignore
option in by_text
queries.
show_original_stack_trace: bool
Flag to show the full error stack traces for async errors.
throw_suggestions: bool
Throw errors with suggestions for better queries. Opt in so off by default.
get_element_error: Arc<GetElementErrorFn>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl !RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl !UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more