RemoteWebDriver MembersWebDriver

The RemoteWebDriver type exposes the following members.
Constructors

  NameDescription
Public methodRemoteWebDriver(ICapabilities)
Initializes a new instance of the RemoteWebDriver class. This constructor defaults proxy to http://127.0.0.1:4444/wd/hub
Public methodRemoteWebDriver(Uri, ICapabilities)
Initializes a new instance of the RemoteWebDriver class
Public methodRemoteWebDriver(ICommandExecutor, ICapabilities)
Initializes a new instance of the RemoteWebDriver class
Public methodRemoteWebDriver(Uri, ICapabilities, TimeSpan)
Initializes a new instance of the RemoteWebDriver class using the specified remote address, desired capabilities, and command timeout.
Back to Top
Methods

  NameDescription
Public methodClose
Closes the Browser
Protected methodCreateElement
Creates a RemoteWebElement with the specified ID.
Public methodDispose 
Dispose the RemoteWebDriver Instance
Protected methodDispose(Boolean)
Stops the client from running
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodExecute
Executes a command with this driver .
Public methodExecuteAsyncScript
Executes JavaScript asynchronously in the context of the currently selected frame or window.
Public methodExecuteScript
Executes JavaScript in the context of the currently selected frame or window
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
Protected methodFindElement(String, String)
Finds an element matching the given mechanism and value.
Public methodFindElementByClassName
Finds the first element in the page that matches the CSS Class supplied
Public methodFindElementByCssSelector
Finds the first element matching the specified CSS selector.
Public methodFindElementById
Finds the first element in the page that matches the ID supplied
Public methodFindElementByLinkText
Finds the first of elements that match the link text supplied
Public methodFindElementByName
Finds the first of elements that match the name supplied
Public methodFindElementByPartialLinkText
Finds the first of elements that match the part of the link text supplied
Public methodFindElementByTagName
Finds the first of elements that match the DOM Tag supplied
Public methodFindElementByXPath
Finds the first of elements that match the XPath supplied
Public methodFindElements(By)
Finds the elements on the page by using the By object and returns a ReadOnlyCollection of the Elements on the page
Protected methodFindElements(String, String)
Finds all elements matching the given mechanism and value.
Public methodFindElementsByClassName
Finds a list of elements that match the class name supplied
Public methodFindElementsByCssSelector
Finds all elements matching the specified CSS selector.
Public methodFindElementsById
Finds the first element in the page that matches the ID supplied
Public methodFindElementsByLinkText
Finds a list of elements that match the link text supplied
Public methodFindElementsByName
Finds a list of elements that match the name supplied
Public methodFindElementsByPartialLinkText
Finds a list of elements that match the class name supplied
Public methodFindElementsByTagName
Finds a list of elements that match the DOM Tag supplied
Public methodFindElementsByXPath
Finds a list of elements that match the XPath supplied
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodManage
Method For getting an object to set the Speed
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodNavigate
Method to allow you to Navigate with WebDriver
Public methodQuit
Close the Browser and Dispose of WebDriver
Protected methodStartClient
Starts the command executor, enabling communication with the browser.
Protected methodStartSession
Starts a session with the driver
Protected methodStopClient
Stops the command executor, ending further communication with the browser.
Public methodSwitchTo
Method to give you access to switch frames and windows
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Fields

  NameDescription
Protected fieldStatic memberDefaultCommandTimeout
The default command timeout for HTTP requests in a RemoteWebDriver instance.
Back to Top
Properties

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