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