public static void SendButton() { WebElementExtensions.FindElement("Name", "submit-request-detail"); IWebElement send = Driver.WebDriver.FindElement(By.Name("submit-request-detail")); WebElementExtensions.ScrollToElement(send); WebElementExtensions.SimulateClick(send); }
public static void RequestDetails() { WebElementExtensions.FindElement("LinkText", "Request Details"); IWebElement requestdetails = Driver.WebDriver.FindElement(By.LinkText("Request Details")); WebElementExtensions.ScrollToElement(requestdetails); WebElementExtensions.SimulateClick(requestdetails); }