selenium.webdriver.firefox.firefox_profile

exception selenium.webdriver.firefox.firefox_profile.AddonFormatError[source]

Exception for not well-formed add-on manifest files

class selenium.webdriver.firefox.firefox_profile.FirefoxProfile(profile_directory=None)[source]

Initialises a new instance of a Firefox Profile

Args :
  • profile_directory: Directory of profile that you want to use. This defaults to None and will create a new directory when object is created.
ANONYMOUS_PROFILE_NAME = 'WEBDRIVER_ANONYMOUS_PROFILE'
DEFAULT_PREFERENCES = None
accept_untrusted_certs[source]
add_extension(extension='webdriver.xpi')[source]
assume_untrusted_cert_issuer[source]
encoded[source]

A zipped, base64 encoded string of profile directory for use with remote WebDriver JSON wire protocol

native_events_enabled[source]
path[source]

Gets the profile directory that is currently being used

port[source]

Gets the port that WebDriver is working on

set_preference(key, value)[source]

sets the preference that we want in the profile.

set_proxy(proxy)[source]
update_preferences()[source]

This Page