Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        public void Dispose()
        {
            Logger.Info($"Disposing webdriver handle: ${WebDriverInstance.CurrentWindowHandle}");
            WebDriverInstance.Quit();
            WebDriverInstance.Dispose();

            Logger.Info($"Disposing task id: : ${TaskInstance.Id}");
            TaskInstance.Dispose();
        }
 public static void Dispose()
 {
     WebDriverInstance.Quit();
     WebDriverInstance.Dispose();
 }