pub enum ChromeCommand {
LaunchApp(String),
GetNetworkConditions,
SetNetworkConditions(NetworkConditions),
ExecuteCdpCommand(String, Value),
GetSinks,
GetIssueMessage,
SetSinkToUse(String),
StartTabMirroring(String),
StopCasting(String),
}
Variants§
LaunchApp(String)
GetNetworkConditions
SetNetworkConditions(NetworkConditions)
ExecuteCdpCommand(String, Value)
GetSinks
GetIssueMessage
SetSinkToUse(String)
StartTabMirroring(String)
StopCasting(String)
Trait Implementations§
Source§impl Debug for ChromeCommand
impl Debug for ChromeCommand
Source§impl WebDriverCompatibleCommand for ChromeCommand
impl WebDriverCompatibleCommand for ChromeCommand
Source§fn endpoint(
&self,
base_url: &Url,
session_id: Option<&str>,
) -> Result<Url, ParseError>
fn endpoint( &self, base_url: &Url, session_id: Option<&str>, ) -> Result<Url, ParseError>
The endpoint to send the request to.
Source§fn method_and_body(&self, _request_url: &Url) -> (Method, Option<String>)
fn method_and_body(&self, _request_url: &Url) -> (Method, Option<String>)
The HTTP request method to use, and the request body for the request. Read more
Source§fn is_new_session(&self) -> bool
fn is_new_session(&self) -> bool
Return true if this command starts a new WebDriver session.
Auto Trait Implementations§
impl Freeze for ChromeCommand
impl RefUnwindSafe for ChromeCommand
impl Send for ChromeCommand
impl Sync for ChromeCommand
impl Unpin for ChromeCommand
impl UnwindSafe for ChromeCommand
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