EngineFactoryCreate Method (EngineOptions) |
Creates and returns an
IEngine instance.
Namespace:
DotNetBrowser.Engine
Assembly:
DotNetBrowser.Core (in DotNetBrowser.Core.dll) Version: 2.23.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 engine = EngineFactory.Create(engineOptions);
See Also