org.openqa.selenium.browserlaunchers
Class Proxies
java.lang.Object
org.openqa.selenium.browserlaunchers.Proxies
public class Proxies
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Proxies
public Proxies()
makeProxyPAC
public static java.io.File makeProxyPAC(java.io.File parentDir,
int port,
Capabilities capabilities)
throws java.io.FileNotFoundException
- Generate a proxy.pac file, configuring a dynamic proxy. If
proxySeleniumTrafficOnly is true, then the proxy applies only to URLs
containing "/selenium-server/". Otherwise the proxy applies to all URLs.
- Throws:
java.io.FileNotFoundException
makeProxyPAC
public static java.io.File makeProxyPAC(java.io.File parentDir,
int port,
java.lang.String configuredProxy,
java.lang.String proxyPort,
java.lang.String nonProxyHosts,
Capabilities capabilities)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
extractProxy
public static Proxy extractProxy(Capabilities capabilities)
isProxyingAllTraffic
public static boolean isProxyingAllTraffic(Capabilities capabilities)
isOnlyProxyingSelenium
public static boolean isOnlyProxyingSelenium(Capabilities capabilities)
Copyright © 2011. All Rights Reserved.