FirefoxProfile ClassWebDriver
Provides the ability to edit the preferences associated with a Firefox profile.
Inheritance Hierarchy

SystemObject
  OpenQA.Selenium.FirefoxFirefoxProfile

Namespace: OpenQA.Selenium.Firefox
Assembly: WebDriver (in WebDriver.dll) Version: 3.1.0
Syntax

public class FirefoxProfile

The FirefoxProfile type exposes the following members.

Constructors

  NameDescription
Public methodFirefoxProfile
Initializes a new instance of the FirefoxProfile class.
Public methodFirefoxProfile(String)
Initializes a new instance of the FirefoxProfile class using a specific profile directory.
Public methodFirefoxProfile(String, Boolean)
Initializes a new instance of the FirefoxProfile class using a specific profile directory.
Top
Properties

  NameDescription
Public propertyAcceptUntrustedCertificates
Gets or sets a value indicating whether Firefox should accept SSL certificates which have expired, signed by an unknown authority or are generally untrusted. Set to true by default.
Public propertyAlwaysLoadNoFocusLibrary
Gets or sets a value indicating whether to always load the library for allowing Firefox to execute commands without its window having focus.
Public propertyAssumeUntrustedCertificateIssuer
Gets or sets a value indicating whether Firefox assume untrusted SSL certificates come from an untrusted issuer or are self-signed. Set to true by default.
Public propertyDeleteAfterUse
Gets or sets a value indicating whether to delete this profile after use with the FirefoxDriver.
Public propertyEnableNativeEvents
Gets or sets a value indicating whether native events are enabled.
Public propertyPort
Gets or sets the port on which the profile connects to the WebDriver extension.
Public propertyProfileDirectory
Gets the directory containing the profile.
Top
Methods

  NameDescription
Public methodAddExtension
Adds a Firefox Extension to this profile
Public methodClean
Cleans this Firefox profile.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromBase64String
Converts a base64-encoded string into a FirefoxProfile.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetPreference(String, Boolean)
Sets a preference in the profile.
Public methodSetPreference(String, Int32)
Sets a preference in the profile.
Public methodSetPreference(String, String)
Sets a preference in the profile.
Public methodSetProxyPreferences
Set proxy preferences for this profile.
Public methodToBase64String
Converts the profile into a base64-encoded string.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodWriteToDisk
Writes this in-memory representation of a profile to disk.
Top
See Also

Reference