IWebElement el4m = Driver.FindElement(By.CssSelector("input[type='button']value='Save User Roles']"));
IWebElement el4m = By.CssSelector
("button[onclick='new UserManagement().LoadExcelExportSearchResult();']")
IWebElement el4m = By.CssSelector
("button[onclick='new UserManagement().LoadExcelExportSearchResult();']")
Valid format for css selector for above format is :
The valid format is tag[attribute="value"]
No comments:
Post a Comment