Add project files.

This commit is contained in:
2022-01-26 20:15:57 +01:00
parent 7d4796fa9f
commit 74cb6f043a
15 changed files with 356 additions and 0 deletions

View File

@ -0,0 +1,19 @@
using EATestFramework.Settings;
using Microsoft.Extensions.DependencyInjection;
namespace EATestFramework.Driver;
public static class WebDriverInitializerExtension
{
public static IServiceCollection UseWebDriverInitializer(
this IServiceCollection services,
BrowserType browserType)
{
services.AddSingleton(new TestSettings
{
BrowserType = browserType
});
return services;
}
}