Driver |
public class DriverContext
The DriverContext type exposes the following members.
Name | Description | |
---|---|---|
DriverContext | Initializes a new instance of the DriverContext class |
Name | Description | |
---|---|---|
CrossBrowserEnvironment | Gets or sets the Environment Browsers from App.config. | |
CurrentDirectory | Gets or sets directory where assembly files are located. | |
DownloadFolder | Gets Sets Folder name for Download. | |
Driver | Gets driver Handle. | |
IsTestFailed | Gets or sets a value indicating whether [test failed]. | |
LogTest | Gets or sets test logger. | |
PageSourceFolder | Gets Sets Folder name for PageSource. | |
PerformanceMeasures | Gets instance of Performance PerformanceMeasures class. | |
ScreenShotFolder | Gets Sets Folder name for ScreenShot. | |
TestTitle | Gets or sets the test title. | |
VerifyMessages | Gets all verify messages. |
Name | Description | |
---|---|---|
DeleteAllCookies | Deletes all cookies from the page. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
LogJavaScriptErrors | Logs JavaScript errors. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
SavePageSource | Saves the page source. | |
SaveScreenshot | Saves the screenshot. | |
Start | Starts the specified Driver. | |
Stop | Stop browser instance. | |
TakeAndSaveScreenshot | Takes and saves screen shot. | |
TakeScreenshot | Takes the screenshot. | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
WindowMaximize | Maximizes the current window if it is not already maximized. |
Name | Description | |
---|---|---|
DriverOptionsSet | Occurs when [driver options set]. |