NetCoreWebDriverFactory
3.0.0
Easy WebDriver generation for .NET Core
|
Builder class for easy configuration More...
Public Member Functions | |
WebDriverConfiguration | Build () |
Generate the WebDriverConfiguration from the current state of the builder. More... | |
WebDriverConfigurationBuilder | WithBrowser (Browser browser) |
Set the required Browser More... | |
WebDriverConfigurationBuilder | WithGridUri (Uri gridUri) |
Set the required Uri for the Selenium Grid More... | |
WebDriverConfigurationBuilder | WithHeadless (bool headless) |
Set the Headless switch as required More... | |
WebDriverConfigurationBuilder | WithIsLocal (bool isLocal) |
Set the IsLocal switch as required More... | |
WebDriverConfigurationBuilder | WithPlatformType (PlatformType platformType) |
Set the required PlatformType More... | |
WebDriverConfigurationBuilder | WithWindowSize (WindowSize windowSize) |
Set the required value for the WindowSize Enum More... | |
WebDriverConfigurationBuilder | WithWindowDefinedSize (Size customWindowSize) |
Set the required WindowDefinedSize (Caution: only used for WindowSize.Custom/ WindowSize.Defined) More... | |
WebDriverConfigurationBuilder | WithCustomSize (Size customWindowSize) |
Shortcut method to request the given Custom Size More... | |
WebDriverConfigurationBuilder | RunRemotelyOn (Uri gridUri) |
Shortcut method to request running remotely on the given Uri More... | |
WebDriverConfigurationBuilder | RunHeadless () |
Set the Browser to run in headless mode More... | |
string | GetJsonConfigString () |
Return a formatted, human readable Json string suitable for saving locally in a Config_WebDriver.json file More... | |
Static Public Member Functions | |
static WebDriverConfigurationBuilder | Start () |
return a new instance of this class More... | |
Builder class for easy configuration
WebDriverConfiguration AlexanderOnTest.NetCoreWebDriverFactory.Utils.Builders.WebDriverConfigurationBuilder.Build | ( | ) |
Generate the WebDriverConfiguration from the current state of the builder.
string AlexanderOnTest.NetCoreWebDriverFactory.Utils.Builders.WebDriverConfigurationBuilder.GetJsonConfigString | ( | ) |
Return a formatted, human readable Json string suitable for saving locally in a Config_WebDriver.json file
WebDriverConfigurationBuilder AlexanderOnTest.NetCoreWebDriverFactory.Utils.Builders.WebDriverConfigurationBuilder.RunHeadless | ( | ) |
Set the Browser to run in headless mode
WebDriverConfigurationBuilder AlexanderOnTest.NetCoreWebDriverFactory.Utils.Builders.WebDriverConfigurationBuilder.RunRemotelyOn | ( | Uri | gridUri | ) |
Shortcut method to request running remotely on the given Uri
gridUri |
|
static |
return a new instance of this class
WebDriverConfigurationBuilder AlexanderOnTest.NetCoreWebDriverFactory.Utils.Builders.WebDriverConfigurationBuilder.WithBrowser | ( | Browser | browser | ) |
Set the required Browser
browser |
WebDriverConfigurationBuilder AlexanderOnTest.NetCoreWebDriverFactory.Utils.Builders.WebDriverConfigurationBuilder.WithCustomSize | ( | Size | customWindowSize | ) |
Shortcut method to request the given Custom Size
customWindowSize |
WebDriverConfigurationBuilder AlexanderOnTest.NetCoreWebDriverFactory.Utils.Builders.WebDriverConfigurationBuilder.WithGridUri | ( | Uri | gridUri | ) |
Set the required Uri for the Selenium Grid
gridUri |
WebDriverConfigurationBuilder AlexanderOnTest.NetCoreWebDriverFactory.Utils.Builders.WebDriverConfigurationBuilder.WithHeadless | ( | bool | headless | ) |
Set the Headless switch as required
headless |
WebDriverConfigurationBuilder AlexanderOnTest.NetCoreWebDriverFactory.Utils.Builders.WebDriverConfigurationBuilder.WithIsLocal | ( | bool | isLocal | ) |
Set the IsLocal switch as required
isLocal |
WebDriverConfigurationBuilder AlexanderOnTest.NetCoreWebDriverFactory.Utils.Builders.WebDriverConfigurationBuilder.WithPlatformType | ( | PlatformType | platformType | ) |
Set the required PlatformType
platformType |
WebDriverConfigurationBuilder AlexanderOnTest.NetCoreWebDriverFactory.Utils.Builders.WebDriverConfigurationBuilder.WithWindowDefinedSize | ( | Size | customWindowSize | ) |
Set the required WindowDefinedSize (Caution: only used for WindowSize.Custom/ WindowSize.Defined)
customWindowSize |
WebDriverConfigurationBuilder AlexanderOnTest.NetCoreWebDriverFactory.Utils.Builders.WebDriverConfigurationBuilder.WithWindowSize | ( | WindowSize | windowSize | ) |
Set the required value for the WindowSize Enum
windowSize |