Click or drag to resize

DriverContext Methods

Framework to automate tests using Selenium WebDriver

The DriverContext type exposes the following members.

Methods
 NameDescription
Public methodDeleteAllCookies Deletes all cookies from the page.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLogJavaScriptErrors Logs JavaScript errors.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSavePageSource Saves the page source.
Public methodSaveScreenshot Saves the screenshot.
Public methodStart Starts the specified Driver.
Public methodStop Stop browser instance.
Public methodTakeAndSaveScreenshot Takes and saves screen shot.
Public methodTakeScreenshot Takes the screenshot.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWindowMaximize Maximizes the current window if it is not already maximized.
Top
See Also