[−][src]Struct selenium_webdriver::Proxy
Utility struct for session capabilities defining the proxy settings
For more details please see https://www.w3.org/TR/webdriver/#proxy
Implementations
impl Proxy
[src]
pub fn new() -> Self
[src]
pub fn set_proxy_type(&mut self, proxy_type: ProxyType) -> &mut Self
[src]
Indicates the type of proxy configuration.
pub fn set_proxy_autoconfig_url(&mut self, url: &str) -> &mut Self
[src]
Defines the URL for a proxy auto-config file if proxyType is equal to "pac".
pub fn set_ftp_proxy(&mut self, host_and_port: &str) -> &mut Self
[src]
Defines the proxy host for FTP traffic when the proxyType is "manual".
pub fn set_http_proxy(&mut self, host_and_port: &str) -> &mut Self
[src]
Defines the proxy host for HTTP traffic when the proxyType is "manual".
pub fn set_no_proxy(&mut self, exceptions: Vec<&str>) -> &mut Self
[src]
Lists the address for which the proxy should be bypassed when the proxyType is "manual".
pub fn set_ssl_proxy(&mut self, host_and_port: &str) -> &mut Self
[src]
Defines the proxy host for encrypted TLS traffic when the proxyType is "manual".
pub fn set_socks_proxy(&mut self, host_and_port: &str) -> &mut Self
[src]
Defines the proxy host for a SOCKS proxy when the proxyType is "manual".
pub fn set_socks_version(&mut self, version: u8) -> &mut Self
[src]
Defines the SOCKS proxy version when the proxyType is "manual".
Auto Trait Implementations
impl RefUnwindSafe for Proxy
impl Send for Proxy
impl Sync for Proxy
impl Unpin for Proxy
impl UnwindSafe for Proxy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,