Exemplo n.º 1
0
 public static BrowserHoster getInstance()
 {
     if (_browserHoster == null)
     {
         _browserHoster            = new BrowserHoster();
         _browserHoster._webDriver = WebUtility.startWebBrower(BrowerEnum.Chrome);
         _browserHoster._webDriver.Manage().Window.Maximize();
     }
     return(_browserHoster);
 }
Exemplo n.º 2
0
 private void init()
 {
     _actions         = new Actions(BrowserHoster.getInstance().WebDriver);
     _dragdropactions = new Actions(BrowserHoster.getInstance().WebDriver);
 }