The IWebDriver type exposes the following members.

Methods

  NameDescription
Public methodClose
Close the current window, quitting the browser if it is the last window currently open.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodFindElement
Finds the first IWebElement using the given method.
(Inherited from ISearchContext.)
Public methodFindElements
Finds all IWebElements within the current context using the given mechanism.
(Inherited from ISearchContext.)
Public methodManage
Instructs the driver to change its settings.
Public methodNavigate
Instructs the driver to navigate the browser to another location.
Public methodQuit
Quits this driver, closing every associated window.
Public methodSwitchTo
Instructs the driver to send future commands to a different frame or window.

Properties

  NameDescription
Public propertyCurrentWindowHandle
Gets the current window handle, which is an opaque handle to this window that uniquely identifies it within this driver instance.
Public propertyPageSource
Gets the source of the page last loaded by the browser.
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.

See Also