예제 #1
0
 public void Close()
 {
     FiddlerHandle.AutoWeb.HySeleniumMgr hySeleniumMgr = this.HySeleniumMgr;
     if (hySeleniumMgr != null)
     {
         hySeleniumMgr.Close();
     }
     else
     {
     }
 }
예제 #2
0
 public void OneByOneTaskTryErr(Action <IWebDriver> task, FiddlerHandle.AutoWeb.HySeleniumMgr hySeleniumMgr)
 {
     try
     {
         if (task != null)
         {
             task(hySeleniumMgr.WebDriver);
         }
     }
     catch (Exception exception)
     {
         XTrace.WriteLine(exception.ToString());
     }
 }
예제 #3
0
 public void OneByOneTaskTryErrF(Func <IWebDriver, string, bool> task, FiddlerHandle.AutoWeb.HySeleniumMgr hySeleniumMgr, string arg2)
 {
     try
     {
         if (task != null)
         {
             task(hySeleniumMgr.WebDriver, arg2);
         }
     }
     catch (Exception exception)
     {
         XTrace.WriteLine(exception.ToString());
     }
 }