Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

Firefox binary ignoring some settings in profile #2061

@lukeis

Description

@lukeis

Originally reported on Google Code with ID 2061

Using Mac OSX 10.6, Firefox 5.01, python bindings.
Not sure about selenium python bindings version, can't find it but I downloaded it
this week.

I set up a profile to use a proxy.
    profile = webdriver.FirefoxProfile()
    profile.set_preference("network.proxy.type", 1)
    profile.set_preference("network.proxy.http", "localhost")
    profile.set_preference("network.proxy.http_port", 9638)
    profile.set_preference("network.proxy.no_proxies_on", "")
    profile.update_preferences()
    driver = webdriver.Firefox(firefox_profile=profile)

The call to webdriver.Firefox fails with an error like this:
WebDriverException: Can't load the profile. Profile Dir : /var/folders/CW/CWhi40qkHJaRdfl7JNBS1++++TI/-Tmp-/tmpbs7gZo

The exception is being triggered because _wait_until_connectable is timing out in firefox_binary.

This is happening because the browser's proxy has not been configured right. Using
about:config, the Firefox browser tells me that I've change network.proxy.type and
network.proxy.http_port but not the other 2 necessary settings.

Why is the Firefox binary ignoring the other 2 settings?

Reported by rwillmer on 2011-07-15 16:28:51

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions