예제 #1
0
 public void Quit()
 {
     if (IsOpened)
     {
         DriverKeeper.GetDriver.Quit();
         BrowserClosed?.Invoke();
     }
 }
예제 #2
0
 public void Dispose()
 {
     if (IsOpened)
     {
         DriverKeeper.GetDriver.Dispose();
         BrowserClosed?.Invoke();
     }
 }
예제 #3
0
 protected virtual void OnBrowserClosed()
 {
     DriverBuild = false;
     BrowserClosed?.Invoke(this, null);
     try
     {
         Driver.Quit();
     }
     catch { }
 }