public bool IsElementPresent(By locator) { return(WebDriverInstance.GetInstance().FindElements(locator).Count > 0); }
public void InitBrowser() { driver = WebDriverInstance.GetInstance(); }