Class WebDriverProxyUtils


  • public class WebDriverProxyUtils
    extends java.lang.Object
    • Constructor Detail

      • WebDriverProxyUtils

        public WebDriverProxyUtils()
    • 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().