public void GivenIAmOnECommercePageForToUploadDeathCertificate(string iaId) { var pageNavigator = new PageNavigator(); _driver = pageNavigator.GoToDetailsPageOffsite("r", iaId); Image2Path = pageNavigator.Configuration.GetValue <string>("Image2Path"); }
public void GivenIAmOnDownloadPageForOffsiteAndSignedIn(string iaId) { var webDriver = new PageNavigator(); _driver = webDriver.GoToDetailsPageOffsite("r", iaId); _driver.FindElement(By.Id("signin")).Click(); webDriver.SingleSignOn(_driver); }
public void GivenIAmOnTheDetailsPageForForOffSite(string iaId) { var webDriver = new PageNavigator(); _driver = webDriver.GoToDetailsPageOffsite("r", iaId); IJavaScriptExecutor js = (IJavaScriptExecutor)_driver; js.ExecuteScript("window.scrollTo(0, 900)"); }
public void GivenIAmOnDetailsPageForOffsite(string iaId) { var webDriver = new PageNavigator(); _driver = webDriver.GoToDetailsPageOffsite("r", iaId); }