public void TestRefresh() { BrowserStandard browser = new BrowserStandard(); IDocument document = browser.Navigate("https://github.com"); IDocument documentRefreshed = browser.Refresh(); Assert.True(documentRefreshed == browser.Document); Assert.True(documentRefreshed != document); IDocument secondDocument = browser.Navigate(RequestTesterRouteUri); IDocument thirdDocument = browser.Navigate("https://nuget.org"); browser.Back(); browser.Refresh(); Assert.True(browser.Document != secondDocument); Assert.True(browser.Document.Response.ResponseUri == secondDocument.Response.ResponseUri); }