pub enum CheckpointType {
UrlContains,
ElementExists,
ElementNotExists,
TextContains,
JsCondition,
PageLoaded,
}Expand description
Type of checkpoint verification.
Variants§
UrlContains
Check if URL contains a pattern.
ElementExists
Check if an element exists.
ElementNotExists
Check if an element does NOT exist.
TextContains
Check if page text contains a string.
JsCondition
Evaluate a JavaScript condition.
PageLoaded
Check if page is fully loaded.
Trait Implementations§
Source§impl Clone for CheckpointType
impl Clone for CheckpointType
Source§fn clone(&self) -> CheckpointType
fn clone(&self) -> CheckpointType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CheckpointType
impl Debug for CheckpointType
Source§impl<'de> Deserialize<'de> for CheckpointType
impl<'de> Deserialize<'de> for CheckpointType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CheckpointType
impl PartialEq for CheckpointType
Source§impl Serialize for CheckpointType
impl Serialize for CheckpointType
impl Copy for CheckpointType
impl Eq for CheckpointType
impl StructuralPartialEq for CheckpointType
Auto Trait Implementations§
impl Freeze for CheckpointType
impl RefUnwindSafe for CheckpointType
impl Send for CheckpointType
impl Sync for CheckpointType
impl Unpin for CheckpointType
impl UnwindSafe for CheckpointType
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