return new FirefoxDriver(capabilities);
}
public DesiredCapabilities createProxyCapabilities() {
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
Proxy proxy = new Proxy();
proxy.setHttpProxy(Config.getProxyHost() + ":" + Config.getProxyPort());
proxy.setSslProxy(Config.getProxyHost() + ":" + Config.getProxyPort());
capabilities.setCapability("proxy", proxy);
return capabilities;
}