public void HoverAndUrlTest() { var mainSteps = new MainSteps(); var expectedUrl = "quadrocopters-and-droids"; WebDriverManager.OpenUrl(Urls.Base); mainSteps.HoverOnTransportMenuItem(); mainSteps.ClickOnQuadrocopterMenuItem(); Assert.True(WebDriverManager.GetUrl().Contains(expectedUrl), "Current URL doesn't contain expected text:" + expectedUrl); mainSteps.ClickOnLogo(); Assert.AreEqual(Urls.Base, WebDriverManager.GetUrl()); }