public void Open() { if (enableProxy) { ProxyService.StartProxyServer(); } dynamic browser = BrowserFactory.Create((int)type, enableProxy); DomService.InitializeService(browser); }