public IBrowser Start() { try { return(BrowserFactory.Get(GetBrowserType())); } catch (Exception ex) { throw new Exception($"Driver Coud not be launched. {ex}"); } }
public IBrowser GetCurrentDriver() { try { return(BrowserFactory.Get(GetBrowserType())); } catch (Exception ex) { throw new Exception($"Browser is not avialbl. {ex}"); } }