28 references to BrowserKind
Microsoft.AspNetCore.BrowserTesting (16)
BrowserManager.cs (12)
71
BrowserKind
.Chromium => await Playwright.Chromium.LaunchAsync(effectiveLaunchOptions),
72
BrowserKind
.Firefox => await Playwright.Firefox.LaunchAsync(effectiveLaunchOptions),
73
BrowserKind
.Webkit => await Playwright.Webkit.LaunchAsync(effectiveLaunchOptions),
85
public Task<IBrowserContext> GetBrowserInstance(
BrowserKind
browserInstance, ContextInformation contextInfo) =>
97
public Task<IBrowserContext> GetBrowserInstance(
BrowserKind
browserInstance, string contextName, ContextInformation contextInfo) =>
109
public Task<IBrowserContext> GetBrowserInstance(
BrowserKind
browserInstance, string contextName, BrowserNewContextOptions options, ContextInformation contextInfo) =>
162
public bool IsAvailable(
BrowserKind
browserKind) =>
165
public bool IsExplicitlyDisabled(
BrowserKind
browserKind) =>
170
public static IEnumerable<object[]> WithBrowsers<T>(IEnumerable<
BrowserKind
> browsers, IEnumerable<T[]> data)
173
foreach (
var
browser in browsers)
184
public static IEnumerable<object[]> WithBrowsers(IEnumerable<
BrowserKind
> browsers, params object[] data)
187
foreach (
var
browser in browsers)
BrowserManagerConfiguration.cs (4)
101
var
browserKind = browser.GetValue<
BrowserKind
>("BrowserKind");
353
public
BrowserKind
BrowserKind { get; }
359
public BrowserOptions(
BrowserKind
browserKind, BrowserTypeLaunchOptions browserLaunchOptions, BrowserNewContextOptions defaultContextOptions)
Templates.Blazor.Tests (12)
BlazorTemplateTest.cs (3)
78
public static bool TryValidateBrowserRequired(
BrowserKind
browserKind, bool isRequired, out string error)
85
BrowserKind
browserKind,
216
protected void EnsureBrowserAvailable(
BrowserKind
browserKind)
BlazorWasmTemplateTest.cs (4)
22
[InlineData(
BrowserKind
.Chromium)]
23
public async Task BlazorWasmStandaloneTemplate_Works(
BrowserKind
browserKind)
52
[InlineData(
BrowserKind
.Chromium)]
53
public async Task BlazorWasmStandalonePwaTemplate_Works(
BrowserKind
browserKind)
BlazorWebTemplateTest.cs (5)
19
[InlineData(
BrowserKind
.Chromium, "None")]
20
[InlineData(
BrowserKind
.Chromium, "Server")]
21
[InlineData(
BrowserKind
.Chromium, "WebAssembly")]
22
[InlineData(
BrowserKind
.Chromium, "Auto")]
23
public async Task BlazorWebTemplate_Works(
BrowserKind
browserKind, string interactivityOption)