Static Factory for DriverOptions
More...
|
static ChromeOptions | GetChromeOptions (PlatformType platformType, bool headless=false) |
| Return a configured ChromeOptions instance for a RemoteWebDriver. More...
|
|
static ChromeOptions | GetChromeOptions (bool headless=false) |
| Return a configured ChromeOptions instance for a local WebDriver. More...
|
|
static FirefoxOptions | GetFirefoxOptions (PlatformType platformType, bool headless=false) |
| Return a configured FirefoxOptions instance for a RemoteWebDriver. More...
|
|
static FirefoxOptions | GetFirefoxOptions (bool headless=false) |
| Return a configured FirefoxOptions instance for a local WebDriver. More...
|
|
static EdgeOptions | GetEdgeOptions (PlatformType platformType=PlatformType.Any) |
| Return a configured EdgeOptions instance. More...
|
|
static InternetExplorerOptions | GetInternetExplorerOptions (PlatformType platformType=PlatformType.Any) |
| Return a configured InternetExplorerOptions instance. More...
|
|
static SafariOptions | GetSafariOptions (PlatformType platformType=PlatformType.Any) |
| Return a configured SafariOptions instance. More...
|
|
static T | SetPlatform< T > (T options, PlatformType platformType) |
| Add the platform configuration to a DriverOptions instance. More...
|
|
static T | AddHeadlessOption< T > (T driverOptions) |
| Add the headless flag if available. More...
|
|
Static Factory for DriverOptions
◆ AddHeadlessOption< T >()
static T AlexanderOnTest.NetCoreWebDriverFactory.DriverOptionsFactory.StaticDriverOptionsFactory.AddHeadlessOption< T > |
( |
T |
driverOptions | ) |
|
|
static |
Add the headless flag if available.
- Template Parameters
-
- Parameters
-
- Returns
◆ GetChromeOptions() [1/2]
static ChromeOptions AlexanderOnTest.NetCoreWebDriverFactory.DriverOptionsFactory.StaticDriverOptionsFactory.GetChromeOptions |
( |
PlatformType |
platformType, |
|
|
bool |
headless = false |
|
) |
| |
|
static |
Return a configured ChromeOptions instance for a RemoteWebDriver.
- Parameters
-
- Returns
◆ GetChromeOptions() [2/2]
static ChromeOptions AlexanderOnTest.NetCoreWebDriverFactory.DriverOptionsFactory.StaticDriverOptionsFactory.GetChromeOptions |
( |
bool |
headless = false | ) |
|
|
static |
Return a configured ChromeOptions instance for a local WebDriver.
- Parameters
-
- Returns
◆ GetEdgeOptions()
static EdgeOptions AlexanderOnTest.NetCoreWebDriverFactory.DriverOptionsFactory.StaticDriverOptionsFactory.GetEdgeOptions |
( |
PlatformType |
platformType = PlatformType.Any | ) |
|
|
static |
Return a configured EdgeOptions instance.
- Parameters
-
- Returns
◆ GetFirefoxOptions() [1/2]
static FirefoxOptions AlexanderOnTest.NetCoreWebDriverFactory.DriverOptionsFactory.StaticDriverOptionsFactory.GetFirefoxOptions |
( |
PlatformType |
platformType, |
|
|
bool |
headless = false |
|
) |
| |
|
static |
Return a configured FirefoxOptions instance for a RemoteWebDriver.
- Parameters
-
- Returns
◆ GetFirefoxOptions() [2/2]
static FirefoxOptions AlexanderOnTest.NetCoreWebDriverFactory.DriverOptionsFactory.StaticDriverOptionsFactory.GetFirefoxOptions |
( |
bool |
headless = false | ) |
|
|
static |
Return a configured FirefoxOptions instance for a local WebDriver.
- Parameters
-
- Returns
◆ GetInternetExplorerOptions()
static InternetExplorerOptions AlexanderOnTest.NetCoreWebDriverFactory.DriverOptionsFactory.StaticDriverOptionsFactory.GetInternetExplorerOptions |
( |
PlatformType |
platformType = PlatformType.Any | ) |
|
|
static |
Return a configured InternetExplorerOptions instance.
- Parameters
-
- Returns
◆ GetSafariOptions()
static SafariOptions AlexanderOnTest.NetCoreWebDriverFactory.DriverOptionsFactory.StaticDriverOptionsFactory.GetSafariOptions |
( |
PlatformType |
platformType = PlatformType.Any | ) |
|
|
static |
Return a configured SafariOptions instance.
- Parameters
-
- Returns
◆ SetPlatform< T >()
static T AlexanderOnTest.NetCoreWebDriverFactory.DriverOptionsFactory.StaticDriverOptionsFactory.SetPlatform< T > |
( |
T |
options, |
|
|
PlatformType |
platformType |
|
) |
| |
|
static |
Add the platform configuration to a DriverOptions instance.
- Template Parameters
-
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- AlexanderOnTest.NetCoreWebDriverFactory/DriverOptionsFactory/StaticDriverOptionsFactory.cs