selenium.webdriver.firefox.firefox_profile#
Classes
|
Initialises a new instance of a Firefox Profile. |
Exceptions
|
Exception for not well-formed add-on manifest files. |
- exception AddonFormatError(**kwargs)[source]#
Bases:
ExceptionException for not well-formed add-on manifest files.
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- class FirefoxProfile(profile_directory=None)[source]#
Bases:
objectInitialises a new instance of a Firefox Profile.
- Parameters:
profile_directory – Directory of profile that you want to use. If a directory is passed in it will be cloned and the cloned directory will be used by the driver when instantiated. This defaults to None and will create a new directory when object is created.
- DEFAULT_PREFERENCES = None#
- property path#
Gets the profile directory that is currently being used.
- property port#
Gets the port that WebDriver is working on.
- property accept_untrusted_certs#
- property assume_untrusted_cert_issuer#
- property encoded: str#
Update preferences and create a zipped, base64-encoded profile directory string.