|
static Browser | Browser = GetEnumSettingOrDefault("browserType", Browser.Firefox) [get] |
|
static Uri | GridUri [get] |
| Uri of the grid. Configuration Priority: More...
|
|
static bool | IsLocal [get] |
| Run the webdriver locally (rather than remote) More...
|
|
static PlatformType | PlatformType = GetEnumSettingOrDefault("platform", PlatformType.Windows) [get] |
| PlatformType for the RemoteWebDriver request More...
|
|
static WindowSize | WindowSize = GetEnumSettingOrDefault("windowSize", WindowSize.Hd) [get] |
| Requested Browser Window Size More...
|
|
static bool | Headless = GetBoolSettingOrDefault("headless", false) [get] |
| Run the WebDriver instance Headless (Supported only on Firefox and Chrome) More...
|
|
static Size | CustomWindowSize [get] |
| Requested Custom browser size for WindowSize.Custom More...
|
|
◆ WebDriverConfiguration
IWebDriverConfiguration AlexanderOnTest.WebDriverFactoryNunitConfig.TestSettings.WebDriverSettings.WebDriverConfiguration |
|
static |
Initial value:=> GetConfigFromFileSystemIfPresent<WebDriverConfiguration>("Config_WebDriver.json")
?? WebDriverConfigurationBuilder.Start()
.WithBrowser(Browser)
.Build()
Return the Configuration to use - Priority:
- A value provided in "My Documents/Config_WebDriver.json" (Windows) or "/Config_WebDriver.json" (Mac / Linux)
- The value in an applied .runsettings file
- Default values.
◆ CustomWindowSize
Size AlexanderOnTest.WebDriverFactoryNunitConfig.TestSettings.WebDriverSettings.CustomWindowSize |
|
staticget |
Initial value:= new Size(
TestContext.Parameters.Get<int>("customWidth", 0 ),
TestContext.Parameters.Get<int>("customHeight", 0))
Requested Custom browser size for WindowSize.Custom
◆ GridUri
Uri AlexanderOnTest.WebDriverFactoryNunitConfig.TestSettings.WebDriverSettings.GridUri |
|
staticget |
Uri of the grid. Configuration Priority:
- A value provided in "My Documents/Config_GridUri.json" (Windows) or "/Config_GridUri.json" (Mac / Linux)
- The value in an applied .runsettings file
- Default (Localhost) grid.
◆ Headless
bool AlexanderOnTest.WebDriverFactoryNunitConfig.TestSettings.WebDriverSettings.Headless = GetBoolSettingOrDefault("headless", false) |
|
staticget |
Run the WebDriver instance Headless (Supported only on Firefox and Chrome)
◆ IsLocal
bool AlexanderOnTest.WebDriverFactoryNunitConfig.TestSettings.WebDriverSettings.IsLocal |
|
staticget |
Initial value:= Utils.GetConfigFromFileSystemIfPresent<Uri>("Config_GridUri.json") ??
new Uri(GetSettingOrDefault("gridUri", "http://localhost:4444/wd/hub"))
Run the webdriver locally (rather than remote)
◆ PlatformType
PlatformType AlexanderOnTest.WebDriverFactoryNunitConfig.TestSettings.WebDriverSettings.PlatformType = GetEnumSettingOrDefault("platform", PlatformType.Windows) |
|
staticget |
PlatformType for the RemoteWebDriver request
◆ WindowSize
WindowSize AlexanderOnTest.WebDriverFactoryNunitConfig.TestSettings.WebDriverSettings.WindowSize = GetEnumSettingOrDefault("windowSize", WindowSize.Hd) |
|
staticget |
Requested Browser Window Size
The documentation for this class was generated from the following file:
- AlexanderOnTest.WebDriverFactoryNunitConfig/TestSettings/WebDriverSettings.cs