pub enum FirefoxCommand {
InstallAddon {
path: String,
temporary: Option<bool>,
},
FullScreenshot {},
}
Variants§
Trait Implementations§
Source§impl Debug for FirefoxCommand
impl Debug for FirefoxCommand
Source§impl WebDriverCompatibleCommand for FirefoxCommand
impl WebDriverCompatibleCommand for FirefoxCommand
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 FirefoxCommand
impl RefUnwindSafe for FirefoxCommand
impl Send for FirefoxCommand
impl Sync for FirefoxCommand
impl Unpin for FirefoxCommand
impl UnwindSafe for FirefoxCommand
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