pub trait ExtensionCommand: Debug {
    // Required methods
    fn parameters_json(&self) -> Option<Value>;
    fn method(&self) -> RequestMethod;
    fn endpoint(&self) -> String;
}
Expand description

Extension Command trait.

Required Methods§

source

fn parameters_json(&self) -> Option<Value>

Request Body

source

fn method(&self) -> RequestMethod

HTTP method accepting by the webdriver

source

fn endpoint(&self) -> String

Endpoint URL without /session/{sessionId} prefix

Example:- /moz/addon/install

Implementors§