pub struct PageState {
pub url: String,
pub title: String,
pub visible_text: String,
pub alerts: Vec<String>,
}Expand description
Snapshot of the page at the moment a step failed.
Fields§
§url: StringCurrent URL.
title: Stringdocument.title.
visible_text: StringVisible body text (truncated).
alerts: Vec<String>Text of visible error/alert elements (truncated, deduplicated).
Auto Trait Implementations§
impl Freeze for PageState
impl RefUnwindSafe for PageState
impl Send for PageState
impl Sync for PageState
impl Unpin for PageState
impl UnsafeUnpin for PageState
impl UnwindSafe for PageState
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