EngineFactoryCreate Method (EngineOptions) |
Creates and returns an
IEngine instance.
Namespace:
DotNetBrowser.Engine
Assembly:
DotNetBrowser.Core (in DotNetBrowser.Core.dll) Version: 2.13.0
Syntax Exceptions Examples string dataDir = TestUtil.GenerateCustomFolderPath();
Debug.WriteLine($"Data directory: {dataDir}");
Directory.CreateDirectory(dataDir);
EngineOptions engineOptions = new EngineOptions.Builder
{
UserDataDirectory = dataDir
}
.Build();
IEngine engineService = EngineFactory.Create(engineOptions);
See Also