So everything works
fp = webdriver.FirefoxProfile()
fp.set_preference(\"network.proxy.type\", 1)
fp.set_preference(\"network.proxy.http\", PROXY_HOST)
fp.set_pre
When using WebDriver with Firefox, the use of the profile is a one-time thing. When the driver launches the browser, it writes the profile object to disk, then starts the browser executable. After that point, there is no mechanism for the browser to read any further changes to the WebDriver profile object. To change the proxy, you have to set the settings in the profile before the browser is launched.