using http proxy with selenium Geckodriver
问题 I tried a few things but non of them worked. Anyone have a working example of using a HTTP proxy with Geckodriver for Selenium 3? I am using Java bindings Here is what I tried DesiredCapabilities capabilities = DesiredCapabilities.firefox(); Proxy proxy = new Proxy(); proxy.setHttpProxy("proxyip:proxyport"); capabilities.setCapability("proxy", proxy); System.setProperty("webdriver.gecko.driver", "C:\\geckodriver-v0.16.1-win64\\geckodriver.exe"); WebDriver driver = new FirefoxDriver