protected override async Task InitializeCoreAsync(TestContext context) { BrowserManager = await BrowserManager.CreateAsync(_config, LoggerFactory); BrowserContextInfo = new ContextInformation(LoggerFactory); _output = new BrowserTestOutputLogger(Logger); }
public async Task InitializeAsync() { var sink = new TestSink(); sink.MessageLogged += LogBrowserManagerMessage; var factory = new TestLoggerFactory(sink, enabled: true); BrowserManager = await BrowserManager.CreateAsync(_config, factory); }