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<CheckpointType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CheckpointType, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.