FirefoxDriver MembersWebDriver

The FirefoxDriver type exposes the following members.
Constructors

  NameDescription
Public methodFirefoxDriver 
Initializes a new instance of the FirefoxDriver class.
Public methodFirefoxDriver(FirefoxProfile)
Initializes a new instance of the FirefoxDriver class for a given profile.
Public methodFirefoxDriver(ICapabilities)
Initializes a new instance of the FirefoxDriver class for a given set of capabilities.
Public methodFirefoxDriver(FirefoxBinary, FirefoxProfile)
Initializes a new instance of the FirefoxDriver class for a given profile and binary environment.
Public methodFirefoxDriver(FirefoxBinary, FirefoxProfile, TimeSpan)
Initializes a new instance of the FirefoxDriver class for a given profile, binary environment, and timeout value.
Back to Top
Methods

  NameDescription
Public methodClose
Closes the Browser
(Inherited from RemoteWebDriver.)
Protected methodCreateElement
Creates a RemoteWebElement with the specified ID.
(Overrides RemoteWebDriver CreateElement(String).)
Public methodDispose 
Dispose the RemoteWebDriver Instance
(Inherited from RemoteWebDriver.)
Protected methodDispose(Boolean)
Stops the client from running
(Inherited from RemoteWebDriver.)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodExecute
Executes a command with this driver .
(Inherited from RemoteWebDriver.)
Public methodExecuteAsyncScript
Executes JavaScript asynchronously in the context of the currently selected frame or window.
(Inherited from RemoteWebDriver.)
Public methodExecuteScript
Executes JavaScript in the context of the currently selected frame or window
(Inherited from RemoteWebDriver.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodFindElement(By)
Finds the first element in the page that matches the By object
(Inherited from RemoteWebDriver.)
Protected methodFindElement(String, String)
Finds an element matching the given mechanism and value.
(Inherited from RemoteWebDriver.)
Public methodFindElementByClassName
Finds the first element in the page that matches the CSS Class supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementByCssSelector
Finds the first element matching the specified CSS selector.
(Inherited from RemoteWebDriver.)
Public methodFindElementById
Finds the first element in the page that matches the ID supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementByLinkText
Finds the first of elements that match the link text supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementByName
Finds the first of elements that match the name supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementByPartialLinkText
Finds the first of elements that match the part of the link text supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementByTagName
Finds the first of elements that match the DOM Tag supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementByXPath
Finds the first of elements that match the XPath supplied
(Inherited from RemoteWebDriver.)
Public methodFindElements(By)
Finds the elements on the page by using the By object and returns a ReadOnlyCollection of the Elements on the page
(Inherited from RemoteWebDriver.)
Protected methodFindElements(String, String)
Finds all elements matching the given mechanism and value.
(Inherited from RemoteWebDriver.)
Public methodFindElementsByClassName
Finds a list of elements that match the class name supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementsByCssSelector
Finds all elements matching the specified CSS selector.
(Inherited from RemoteWebDriver.)
Public methodFindElementsById
Finds the first element in the page that matches the ID supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementsByLinkText
Finds a list of elements that match the link text supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementsByName
Finds a list of elements that match the name supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementsByPartialLinkText
Finds a list of elements that match the class name supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementsByTagName
Finds a list of elements that match the DOM Tag supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementsByXPath
Finds a list of elements that match the XPath supplied
(Inherited from RemoteWebDriver.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetScreenshot
Gets a Screenshot object representing the image of the page on the screen.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodManage
Method For getting an object to set the Speed
(Inherited from RemoteWebDriver.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodNavigate
Method to allow you to Navigate with WebDriver
(Inherited from RemoteWebDriver.)
Protected methodPrepareEnvironment
In derived classes, the PrepareEnvironment  method prepares the environment for test execution.
Public methodQuit
Close the Browser and Dispose of WebDriver
(Inherited from RemoteWebDriver.)
Protected methodStartClient
Starts the command executor, enabling communication with the browser.
(Overrides RemoteWebDriver StartClient .)
Protected methodStartSession
Starts a session with the driver
(Inherited from RemoteWebDriver.)
Protected methodStopClient
Stops the command executor, ending further communication with the browser.
(Overrides RemoteWebDriver StopClient .)
Public methodSwitchTo
Method to give you access to switch frames and windows
(Inherited from RemoteWebDriver.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Fields

  NameDescription
Public fieldStatic memberAcceptUntrustedCertificates
Indicates whether the driver will accept untrusted SSL certificates.
Public fieldStatic memberBinaryCapabilityName
The name of the ICapabilities setting to use to define a custom location for the Firefox executable.
Public fieldStatic memberDefaultEnableNativeEvents
Indicates whether native events is enabled by default for this platform.
Public fieldStatic memberDefaultPort
The default port on which to communicate with the Firefox extension.
Public fieldStatic memberProfileCapabilityName
The name of the ICapabilities setting to use to define a custom Firefox profile.
Back to Top
Properties

  NameDescription
Protected propertyBinary
Gets the FirefoxBinary and its details for subclasses
Public propertyCapabilities
Gets the capabilities that the RemoteWebDriver instance is currently using
(Inherited from RemoteWebDriver.)
Protected propertyCommandExecutor
Gets the ICommandExecutor which executes commands for this driver.
(Inherited from RemoteWebDriver.)
Public propertyCurrentWindowHandle
Gets the current window handle, which is an opaque handle to this window that uniquely identifies it within this driver instance.
(Inherited from RemoteWebDriver.)
Public propertyFileDetector
Gets or sets the IFileDetector responsible for detecting sequences of keystrokes representing file paths and names.
(Overrides RemoteWebDriver FileDetector.)
Public propertyKeyboard
Gets an IKeyboard object for sending keystrokes to the browser.
(Inherited from RemoteWebDriver.)
Public propertyMouse
Gets an IMouse object for sending mouse commands to the browser.
(Inherited from RemoteWebDriver.)
Public propertyPageSource
Gets the source of the page last loaded by the browser.
(Inherited from RemoteWebDriver.)
Protected propertyProfile
Gets the FirefoxProfile that is currently in use by subclasses
Protected propertySessionId
Gets the SessionId for the current session of this driver.
(Inherited from RemoteWebDriver.)
Public propertyTitle
Gets the title of the current browser window.
(Inherited from RemoteWebDriver.)
Public propertyUrl
Gets or sets the URL the browser is currently displaying.
(Inherited from RemoteWebDriver.)
Public propertyWindowHandles
Gets the window handles of open browser windows.
(Inherited from RemoteWebDriver.)
Back to Top
See Also