selenium.webdriver.common.proxy¶
The Proxy implementation.
Classes
Proxy ([raw]) |
Proxy contains information about proxy type and necessary proxy settings. |
ProxyType |
Set of possible types of proxy. |
ProxyTypeFactory |
Factory for proxy types. |
-
class
selenium.webdriver.common.proxy.
Proxy
(raw=None)[source]¶ Proxy contains information about proxy type and necessary proxy settings.
Creates a new Proxy.
Args: - raw: raw proxy data. If None, default class values are used.
-
auto_detect
¶ Gets and Sets auto_detect
- Get
- self.auto_detect
- Set
- self.auto_detect = value
value: str
-
autodetect
= False¶
-
ftpProxy
= ''¶
-
ftp_proxy
¶ Gets and Sets ftp_proxy
- Get
- self.ftp_proxy
- Set
- self.ftp_proxy = value
value: str
-
httpProxy
= ''¶
-
http_proxy
¶ Gets and Sets http_proxy
- Get
- self.http_proxy
- Set
- self.http_proxy = value
value: str
-
noProxy
= ''¶
-
no_proxy
¶ Gets and Sets no_proxy
- Get
- self.no_proxy
- Set
- self.no_proxy = value
value: str
-
proxyAutoconfigUrl
= ''¶
-
proxyType
= {'ff_value': 6, 'string': 'UNSPECIFIED'}¶
-
proxy_autoconfig_url
¶ Gets and Sets proxy_autoconfig_url
- Get
- self.proxy_autoconfig_url
- Set
- self.proxy_autoconfig_url = value
value: str
-
proxy_type
¶ Returns proxy type as ProxyType.
-
socksPassword
= ''¶
-
socksProxy
= ''¶
-
socksUsername
= ''¶
-
socksVersion
= None¶
-
socks_password
¶ Gets and Sets socks_password
- Get
- self.socks_password
- Set
- self.socks_password = value
value: str
-
socks_proxy
¶ Gets and Sets socks_proxy
- Get
- self.sock_proxy
- Set
- self.socks_proxy = value
value: str
-
socks_username
¶ Gets and Sets socks_password
- Get
- self.socks_password
- Set
- self.socks_password = value
value: str
-
socks_version
¶ Gets and Sets socks_version
- Get
- self.socks_version
- Set
- self.socks_version = value
value: str
-
sslProxy
= ''¶
-
ssl_proxy
¶ Gets and Sets ssl_proxy
- Get
- self.ssl_proxy
- Set
- self.ssl_proxy = value
value: str
-
class
selenium.webdriver.common.proxy.
ProxyType
[source]¶ Set of possible types of proxy.
Each proxy type has 2 properties: ‘ff_value’ is value of Firefox profile preference, ‘string’ is id of proxy type.
-
AUTODETECT
= {'ff_value': 4, 'string': 'AUTODETECT'}¶
-
DIRECT
= {'ff_value': 0, 'string': 'DIRECT'}¶
-
MANUAL
= {'ff_value': 1, 'string': 'MANUAL'}¶
-
PAC
= {'ff_value': 2, 'string': 'PAC'}¶
-
RESERVED_1
= {'ff_value': 3, 'string': 'RESERVED1'}¶
-
SYSTEM
= {'ff_value': 5, 'string': 'SYSTEM'}¶
-
UNSPECIFIED
= {'ff_value': 6, 'string': 'UNSPECIFIED'}¶
-