public void ThenIShouldSee(string _text) { var _element = _parser.GetElementByName(_text); Driver.WebDriver.ScrollToElement(_element, 10); IWebElement element = Driver.WebDriver.InspectElement(_element); string elementText = element.Text; SoftAssertions.ShouldSee(_text, elementText); }