pub struct Browser { /* private fields */ }Implementations§
Source§impl Browser
impl Browser
pub fn session_id(&self) -> &str
pub fn browser_name(&self) -> &str
pub fn launch_note(&self) -> &str
pub fn cdp_websocket_url(&self) -> &str
pub fn user_data_dir(&self) -> &str
pub fn initial_tab(&self) -> Tab
pub async fn new_tab(&self) -> Result<Tab, Error>
pub async fn new_tab_with_options( &self, options: CommandOptions, ) -> Result<Tab, Error>
pub async fn ping(&self, message: impl Into<String>) -> Result<String, Error>
pub async fn close(&self) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Browser
impl !UnwindSafe for Browser
impl Freeze for Browser
impl Send for Browser
impl Sync for Browser
impl Unpin for Browser
impl UnsafeUnpin for Browser
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request