C# Class SeShell.Test.Core.BaseClass

Base class is used to make the driver initiate and set the base URL for other page classes to use
Inheritance: EventLogger
Show file Open project: ectechno/seshell

Public Properties

Property Type Description
BaseUrl string
Driver IWebDriver
Selenium ISelenium
WebBrws WebBrowsers

Public Methods

Method Description
GetDriver ( WebBrowsers webBrws ) : void
NavigateTo ( string url ) : void

Navigate the browser to the passed url

Private Methods

Method Description
BaseClass ( ) : OpenQA.Selenium

Method Details

GetDriver() public method

public GetDriver ( WebBrowsers webBrws ) : void
webBrws WebBrowsers
return void

NavigateTo() public method

Navigate the browser to the passed url
public NavigateTo ( string url ) : void
url string
return void

Property Details

BaseUrl public static property

public static string BaseUrl
return string

Driver public static property

public static IWebDriver Driver
return IWebDriver

Selenium public static property

public static ISelenium Selenium
return ISelenium

WebBrws public static property

public static WebBrowsers WebBrws
return WebBrowsers