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
显示文件 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_oe static_oe property

public static string BaseUrl
return string

Driver public_oe static_oe property

public static IWebDriver Driver
return IWebDriver

Selenium public_oe static_oe property

public static ISelenium Selenium
return ISelenium

WebBrws public_oe static_oe property

public static WebBrowsers WebBrws
return WebBrowsers