Bumblebee.IntegrationTests.Setup.SessionTests.Given_environment_and_default_settings_When_capturing.Before C# (CSharp) Method

Before() private method

private Before ( ) : void
return void
		public void Before()
		{
			var currentMethod = String.Format("{0}.png", MethodBase.GetCurrentMethod().GetFullName());
			var defaultSettings = new Settings();

			path = Path.Combine(defaultSettings.ScreenCapturePath, currentMethod);
			File.Delete(path);

			var environment = new InternetExplorer();
			session = new Session(environment);
			session.NavigateTo<CheckboxPage>(GetUrl("Checkbox.html"));

			_returnSession = session.CaptureScreen();
		}
Given_environment_and_default_settings_When_capturing