Ejemplo n.º 1
0
        protected override async Task InitializeCoreAsync(TestContext context)
        {
            await base.InitializeCoreAsync(context);

            if (TestPage != null)
            {
                // Clear logs - we check these during tests in some cases.
                // Make sure each test starts clean.
                await TestPage.EvaluateAsync("console.clear()");
            }
        }