With python-selenium I am running the following short python snippet:
from selenium import webdriver
profile = webdriver.FirefoxProfile()
profile.set_preference("network.proxy.http", "localhost")
profile.set_preference("network.proxy.http_port", "9998")
browser = webdriver.Firefox(firefox_profile = profile)
browser.get("http://www.google.co.uk")
in which I define a proxy running at the localhost at port 9998. The test finishes fine, i.e. the google webpage is being shown.
However, there is no proxy running at port 9998. I was expecting an error.
Question: Why do I not get an error?