Add project files.
This commit is contained in:
15
EATestFramework/Startup.cs
Normal file
15
EATestFramework/Startup.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using EATestFramework.Driver;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace EATestFramework
|
||||
{
|
||||
public class Startup
|
||||
{
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.UseWebDriverInitializer(BrowserType.Firefox);
|
||||
services.AddScoped<IBrowserDriver, BrowserDriver>();
|
||||
services.AddScoped<IDriverFixture, DriverFixture>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user