pub struct GetSnapshotCommand { /* private fields */ }👎Deprecated
Available on crate features
experimental and DOMSnapshot and CSS and DOM and DOMDebugger and Page only.Expand description
Returns a document snapshot, including the full DOM tree of the root node (including iframes, template contents, and imported documents) in a flattened array, as well as layout and white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is flattened.
Implementations§
Source§impl GetSnapshotCommand
impl GetSnapshotCommand
pub fn builder() -> GetSnapshotCommandBuilder
👎Deprecated
Sourcepub fn computed_style_whitelist(&self) -> &[String]
👎Deprecated
pub fn computed_style_whitelist(&self) -> &[String]
Whitelist of computed styles to return.
Sourcepub fn include_event_listeners(&self) -> Option<&bool>
👎Deprecated
pub fn include_event_listeners(&self) -> Option<&bool>
Whether or not to retrieve details of DOM listeners (default false).
Sourcepub fn include_paint_order(&self) -> Option<&bool>
👎Deprecated
pub fn include_paint_order(&self) -> Option<&bool>
Whether to determine and include the paint order index of LayoutTreeNodes (default false).
Sourcepub fn include_user_agent_shadow_tree(&self) -> Option<&bool>
👎Deprecated
pub fn include_user_agent_shadow_tree(&self) -> Option<&bool>
Whether to include UA shadow tree in the snapshot (default false).
Trait Implementations§
Source§impl Clone for GetSnapshotCommand
impl Clone for GetSnapshotCommand
Source§fn clone(&self) -> GetSnapshotCommand
fn clone(&self) -> GetSnapshotCommand
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 Command for GetSnapshotCommand
impl Command for GetSnapshotCommand
Source§impl Debug for GetSnapshotCommand
impl Debug for GetSnapshotCommand
Source§impl<'de> Deserialize<'de> for GetSnapshotCommand
impl<'de> Deserialize<'de> for GetSnapshotCommand
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
Auto Trait Implementations§
impl Freeze for GetSnapshotCommand
impl RefUnwindSafe for GetSnapshotCommand
impl Send for GetSnapshotCommand
impl Sync for GetSnapshotCommand
impl Unpin for GetSnapshotCommand
impl UnwindSafe for GetSnapshotCommand
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