private void InitBrowser() { try { Browser?.Dispose(); Browser = ChromeBrowser.OpenBrowser(); LoginToSite(); } catch (Exception e) { Console.WriteLine($"Exception when initializing: {e}"); } }