public void ResetBrowserNotInitiated() { IBrowserClient client = new PlatinumBrowserClient(); client.DeInit(); Assert.DoesNotThrow(() => client.ResetBrowser()); }
public void GetSiteSourceNotInitiated() { IBrowserClient client = new PlatinumBrowserClient(); client.DeInit(); client.CloseBrowser(); RequestException ex = Assert.Throws <RequestException>(() => client.CurrentSiteSource("0")); Assert.That(ex, Is.Not.Null); }