I recently started using Selenium Webdriver (unlike Selenium 1.0), and I'm struggling with a problem that prevents me from running tests at all: when I try to run webdriver.Firefox (), I get a WebDriverException, see trace
An exception occurs when initializing the Firefox web browser:
driver = webdriver.Firefox()
After some research (where I did not find messages about the same problem), I suspected that the company’s proxy server was to blame, and determined my own FirefoxProfile to configure the proxy server for webdriver, but that didn’t help either (tried both “without proxy” and manual proxy settings equal to the company standard). Also tried to add an exception for localhost / 127.0.0.1, which also did not help.
Has anyone encountered the same problem and hopefully solved it?
source share