C# Class SePSX.WebDriverFactory

Description of WebDriverFactory.
Mostra file Open project: apetrovskiy/STUPS

Private Properties

Property Type Description
GetNativeDriver IWebDriver
Init void
WebDriverFactory System

Public Methods

Method Description
GetDriver ( StartDriverCmdletBase cmdlet, Drivers driverType ) : IWebDriver
GetDriverServer ( StartSeWebDriverCommand cmdlet ) : IWebDriver
GetFirefoxDriver ( StartSeDriverServerCommand cmdlet ) : IWebDriver
GetFirefoxProfile ( FirefoxProfileCmdletBase cmdlet ) : FirefoxProfile

Private Methods

Method Description
GetNativeDriver ( Drivers driverType ) : IWebDriver
Init ( ) : void
WebDriverFactory ( ) : System

Method Details

GetDriver() public static method

public static GetDriver ( StartDriverCmdletBase cmdlet, Drivers driverType ) : IWebDriver
cmdlet StartDriverCmdletBase
driverType Drivers
return IWebDriver

GetDriverServer() public static method

public static GetDriverServer ( StartSeWebDriverCommand cmdlet ) : IWebDriver
cmdlet StartSeWebDriverCommand
return IWebDriver

GetFirefoxDriver() public static method

public static GetFirefoxDriver ( StartSeDriverServerCommand cmdlet ) : IWebDriver
cmdlet StartSeDriverServerCommand
return IWebDriver

GetFirefoxProfile() public static method

public static GetFirefoxProfile ( FirefoxProfileCmdletBase cmdlet ) : FirefoxProfile
cmdlet FirefoxProfileCmdletBase
return OpenQA.Selenium.Firefox.FirefoxProfile