Class WebDriverProxyUtils
- java.lang.Object
-
- eu.tsystems.mms.tic.testframework.webdrivermanager.WebDriverProxyUtils
-
public class WebDriverProxyUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WebDriverProxyUtils()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.ProxycreateHttpProxyFromUrl(java.net.URL url)org.openqa.selenium.ProxycreateSocksProxyFromUrl(java.net.URL url)org.openqa.selenium.ProxygetDefaultHttpProxy()org.openqa.selenium.ProxygetDefaultSocksProxy()
-
-
-
Method Detail
-
createSocksProxyFromUrl
public org.openqa.selenium.Proxy createSocksProxyFromUrl(java.net.URL url)
- Returns:
- Proxy based on an URL including socks proxy settings
-
createHttpProxyFromUrl
public org.openqa.selenium.Proxy createHttpProxyFromUrl(java.net.URL url)
- Returns:
- Proxy based on an URL without socks proxy settings
-
getDefaultSocksProxy
public org.openqa.selenium.Proxy getDefaultSocksProxy()
- Returns:
- Proxy settings including socks proxy based on
ProxyUtils.getSystemHttpsProxyUrl()
-
getDefaultHttpProxy
public org.openqa.selenium.Proxy getDefaultHttpProxy()
- Returns:
- Proxy settings without socks proxy based on
ProxyUtils.getSystemHttpsProxyUrl().
-
-