pub struct BrowserCapture { /* private fields */ }Expand description
Captures the (optional) attached-browser DOM.
Construct with BrowserCapture::new passing the CDP HTTP endpoint
(typically http://127.0.0.1:9222). Build the chromium with
--remote-debugging-port=9222 --headless=new (or omit --headless
for a visible browser). Then call BrowserCapture::capture.
Implementations§
Source§impl BrowserCapture
impl BrowserCapture
Auto Trait Implementations§
impl Freeze for BrowserCapture
impl RefUnwindSafe for BrowserCapture
impl Send for BrowserCapture
impl Sync for BrowserCapture
impl Unpin for BrowserCapture
impl UnsafeUnpin for BrowserCapture
impl UnwindSafe for BrowserCapture
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more