The FirefoxDriver type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | FirefoxDriver |
Initializes a new instance of the FirefoxDriver class.
|
![]() | FirefoxDriver(FirefoxProfile) |
Initializes a new instance of the FirefoxDriver class for a given profile.
|
![]() | FirefoxDriver(ICapabilities) |
Initializes a new instance of the FirefoxDriver class for a given set of capabilities.
|
![]() | FirefoxDriver(FirefoxBinary, FirefoxProfile) |
Initializes a new instance of the FirefoxDriver class for a given profile and binary environment.
|
![]() | FirefoxDriver(FirefoxBinary, FirefoxProfile, TimeSpan) |
Initializes a new instance of the FirefoxDriver class for a given profile, binary environment, and timeout value.
|
Methods
Name | Description | |
---|---|---|
![]() | Close |
Closes the Browser
(Inherited from RemoteWebDriver.) |
![]() | CreateElement |
Creates a RemoteWebElement with the specified ID.
(Overrides RemoteWebDriver CreateElement(String).) |
![]() | Dispose |
Dispose the RemoteWebDriver Instance
(Inherited from RemoteWebDriver.) |
![]() | Dispose(Boolean) |
Stops the client from running
(Inherited from RemoteWebDriver.) |
![]() | ![]() | (Inherited from ![]() |
![]() | Execute |
Executes a command with this driver .
(Inherited from RemoteWebDriver.) |
![]() | ExecuteAsyncScript |
Executes JavaScript asynchronously in the context of the currently selected frame or window.
(Inherited from RemoteWebDriver.) |
![]() | ExecuteScript |
Executes JavaScript in the context of the currently selected frame or window
(Inherited from RemoteWebDriver.) |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | FindElement(By) |
Finds the first element in the page that matches the By object
(Inherited from RemoteWebDriver.) |
![]() | FindElement(String, String) |
Finds an element matching the given mechanism and value.
(Inherited from RemoteWebDriver.) |
![]() | FindElementByClassName |
Finds the first element in the page that matches the CSS Class supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementByCssSelector |
Finds the first element matching the specified CSS selector.
(Inherited from RemoteWebDriver.) |
![]() | FindElementById |
Finds the first element in the page that matches the ID supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementByLinkText |
Finds the first of elements that match the link text supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementByName |
Finds the first of elements that match the name supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementByPartialLinkText |
Finds the first of elements that match the part of the link text supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementByTagName |
Finds the first of elements that match the DOM Tag supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementByXPath |
Finds the first of elements that match the XPath supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElements(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.) |
![]() | FindElements(String, String) |
Finds all elements matching the given mechanism and value.
(Inherited from RemoteWebDriver.) |
![]() | FindElementsByClassName |
Finds a list of elements that match the class name supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementsByCssSelector |
Finds all elements matching the specified CSS selector.
(Inherited from RemoteWebDriver.) |
![]() | FindElementsById |
Finds the first element in the page that matches the ID supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementsByLinkText |
Finds a list of elements that match the link text supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementsByName |
Finds a list of elements that match the name supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementsByPartialLinkText |
Finds a list of elements that match the class name supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementsByTagName |
Finds a list of elements that match the DOM Tag supplied
(Inherited from RemoteWebDriver.) |
![]() | FindElementsByXPath |
Finds a list of elements that match the XPath supplied
(Inherited from RemoteWebDriver.) |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | GetScreenshot |
Gets a Screenshot object representing the image of the page on the screen.
|
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | Manage |
Method For getting an object to set the Speed
(Inherited from RemoteWebDriver.) |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | Navigate |
Method to allow you to Navigate with WebDriver
(Inherited from RemoteWebDriver.) |
![]() | PrepareEnvironment |
In derived classes, the PrepareEnvironment method prepares the environment for test execution.
|
![]() | Quit |
Close the Browser and Dispose of WebDriver
(Inherited from RemoteWebDriver.) |
![]() | StartClient |
Starts the command executor, enabling communication with the browser.
(Overrides RemoteWebDriver StartClient .) |
![]() | StartSession |
Starts a session with the driver
(Inherited from RemoteWebDriver.) |
![]() | StopClient |
Stops the command executor, ending further communication with the browser.
(Overrides RemoteWebDriver StopClient .) |
![]() | SwitchTo |
Method to give you access to switch frames and windows
(Inherited from RemoteWebDriver.) |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Fields
Name | Description | |
---|---|---|
![]() ![]() | AcceptUntrustedCertificates |
Indicates whether the driver will accept untrusted SSL certificates.
|
![]() ![]() | BinaryCapabilityName |
The name of the ICapabilities setting to use to define a custom location for the
Firefox executable.
|
![]() ![]() | DefaultEnableNativeEvents |
Indicates whether native events is enabled by default for this platform.
|
![]() ![]() | DefaultPort |
The default port on which to communicate with the Firefox extension.
|
![]() ![]() | ProfileCapabilityName |
The name of the ICapabilities setting to use to define a custom Firefox profile.
|
Properties
Name | Description | |
---|---|---|
![]() | Binary |
Gets the FirefoxBinary and its details for subclasses
|
![]() | Capabilities |
Gets the capabilities that the RemoteWebDriver instance is currently using
(Inherited from RemoteWebDriver.) |
![]() | CommandExecutor |
Gets the ICommandExecutor which executes commands for this driver.
(Inherited from RemoteWebDriver.) |
![]() | CurrentWindowHandle |
Gets the current window handle, which is an opaque handle to this
window that uniquely identifies it within this driver instance.
(Inherited from RemoteWebDriver.) |
![]() | FileDetector |
Gets or sets the IFileDetector responsible for detecting
sequences of keystrokes representing file paths and names.
(Overrides RemoteWebDriver FileDetector.) |
![]() | Keyboard |
Gets an IKeyboard object for sending keystrokes to the browser.
(Inherited from RemoteWebDriver.) |
![]() | Mouse |
Gets an IMouse object for sending mouse commands to the browser.
(Inherited from RemoteWebDriver.) |
![]() | PageSource |
Gets the source of the page last loaded by the browser.
(Inherited from RemoteWebDriver.) |
![]() | Profile |
Gets the FirefoxProfile that is currently in use by subclasses
|
![]() | SessionId |
Gets the SessionId for the current session of this driver.
(Inherited from RemoteWebDriver.) |
![]() | Title |
Gets the title of the current browser window.
(Inherited from RemoteWebDriver.) |
![]() | Url |
Gets or sets the URL the browser is currently displaying.
(Inherited from RemoteWebDriver.) |
![]() | WindowHandles |
Gets the window handles of open browser windows.
(Inherited from RemoteWebDriver.) |
See Also