public void SearchForSeleniumOnGoogle() { Assert.IsTrue(Google.SearchForItem("selenium browser automation"), "No search results displayed when they were expected"); Assert.IsTrue(Google.FindSearchResultItem("SeleniumHQ Browser Automation"), "Did not find a specific search result for Selenium - Web Browser Automation"); }
public void VerifySeleniumDoesNotExistForElement() { Google.SearchForItem("selenium element"); Assert.IsFalse(Google.FindSearchResultItem("Selenium - Web Browser Automation"), "Found a specific search result for Selenium - Web Browser Automation when none was expected"); }