EventFiringWebDriver MembersWebDriver

The EventFiringWebDriver type exposes the following members.
Constructors

  NameDescription
Public methodEventFiringWebDriver
Initializes a new instance of the EventFiringWebDriver class.
Back to Top
Methods

  NameDescription
Public methodClose
Close the current window, quitting the browser if it is the last window currently open.
Public methodDispose 
Frees all managed and unmanaged resources used by this instance.
Protected methodDispose(Boolean)
Frees all managed and, optionally, unmanaged resources used by this instance.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
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
Find the first IWebElement using the given method.
Public methodFindElements
Find all IWebElements within the current context using the given mechanism.
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
Instructs the driver to change its settings.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodNavigate
Instructs the driver to navigate the browser to another location.
Protected methodOnElementClicked
Raises the ElementClicked event.
Protected methodOnElementClicking
Raises the ElementClicking event.
Protected methodOnElementValueChanged
Raises the ElementValueChanged event.
Protected methodOnElementValueChanging
Raises the ElementValueChanging event.
Protected methodOnException
Raises the ExceptionThrown event.
Protected methodOnFindElementCompleted
Raises the FindElementCompleted event.
Protected methodOnFindingElement
Raises the FindingElement event.
Protected methodOnNavigated
Raises the Navigated event.
Protected methodOnNavigatedBack
Raises the NavigatedBack event.
Protected methodOnNavigatedForward
Raises the NavigatedForward event.
Protected methodOnNavigating
Raises the Navigating event.
Protected methodOnNavigatingBack
Raises the NavigatingBack event.
Protected methodOnNavigatingForward
Raises the NavigatingForward event.
Protected methodOnScriptExecuted
Raises the ScriptExecuted event.
Protected methodOnScriptExecuting
Raises the ScriptExecuting event.
Public methodQuit
Quits this driver, closing every associated window.
Public methodSwitchTo
Instructs the driver to send future commands to a different frame or window.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
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.
Public propertyWrappedDriver
Gets the IWebDriver wrapped by this EventsFiringWebDriver instance.
Back to Top
Events

  NameDescription
Public eventElementClicked
Fires after the driver has clicked on an element.
Public eventElementClicking
Fires before the driver clicks on an element.
Public eventElementValueChanged
Fires after the driver has changed the value of an element via Clear(), SendKeys() or Toggle().
Public eventElementValueChanging
Fires before the driver changes the value of an element via Clear(), SendKeys() or Toggle().
Public eventExceptionThrown
Fires when an exception is thrown.
Public eventFindElementCompleted
Fires after the driver completes finding an element.
Public eventFindingElement
Fires before the driver starts to find an element.
Public eventNavigated
Fires after the driver completes navigation
Public eventNavigatedBack
Fires after the driver completes navigation back one entry in the browser history list.
Public eventNavigatedForward
Fires after the driver completes navigation forward one entry in the browser history list.
Public eventNavigating
Fires before the driver begins navigation.
Public eventNavigatingBack
Fires before the driver begins navigation back one entry in the browser history list.
Public eventNavigatingForward
Fires before the driver begins navigation forward one entry in the browser history list.
Public eventScriptExecuted
Fires after a script is executed.
Public eventScriptExecuting
Fires before a script is executed.
Back to Top
See Also