public void HeadlineTitleValidation() { IWebDriver driver = new ChromeDriver(); BBCWebSiteService bbcService = new BBCWebSiteService(driver); bbcService.GoToNewsPage(); bbcService.CheckHeadlineArticleTitle("HK police and protesters clash near China office"); driver.Quit(); }
public void HeadlineTitleValidation() { IWebDriver driver = new ChromeDriver(); BBCWebSiteService bbcService = new BBCWebSiteService(driver); bbcService.GoToNewsPage(); bbcService.CheckHeadlineArticleTitle(); driver.Quit(); }
public void ThenTheHeadlineArticleTitleWillBe(string title) { bbcService.CheckHeadlineArticleTitle(title); }