Ejemplo n.º 1
0
        public void Setup()
        {
            Init();
            _screenRecorder = new ScreenRecorder(Path.GetTempPath(), TestContext.TestName);
            _screenRecorder.StartRecording();
            string codeBase = Assembly.GetExecutingAssembly().Location;
            var    dir      = new FileInfo(codeBase).Directory + @"\UnitTests\Test.html";

            _baseUrl = new Uri(dir).ToString();
            Wd.Visit(_baseUrl);
        }