예제 #1
0
 /// <summary>
 /// Closes the connection to the extension.
 /// </summary>
 public void Quit()
 {
     // This should only be called after the QUIT command has been sent,
     // so go ahead and clean up our process and profile.
     process.Quit();
     profile.Clean();
 }
예제 #2
0
 public void TeardownTest()
 {
     try
     {
         driver.Quit();
     }
     catch (Exception)
     {
         // Ignore errors if unable to close the browser
     }
     Assert.AreEqual("", verificationErrors.ToString());
 }