Exemple #1
0
    protected override async Task InitializeCoreAsync(TestContext context)
    {
        BrowserManager = await BrowserManager.CreateAsync(_config, LoggerFactory);

        BrowserContextInfo = new ContextInformation(LoggerFactory);
        _output            = new BrowserTestOutputLogger(Logger);
    }
Exemple #2
0
        public async Task InitializeAsync()
        {
            var sink = new TestSink();

            sink.MessageLogged += LogBrowserManagerMessage;
            var factory = new TestLoggerFactory(sink, enabled: true);

            BrowserManager = await BrowserManager.CreateAsync(_config, factory);
        }