public static void Select() { MenuSelector.Select("menu-pages", "All Pages"); //Driver.Action.MoveToElement(Driver.Instance.FindElement(By.Id("menu-pages"))).Build().Perform(); //WebDriverWait waitAllPages = new WebDriverWait(Driver.Instance, TimeSpan.FromSeconds(5)); //var allPages = waitAllPages.Until(x => x.FindElement(By.LinkText("All Pages"))); //Actions hoverAction = Driver.Action.MoveToElement(allPages).Click(); //hoverAction.Build().Perform(); }
public static void Select() { MenuSelector.Select("menu-posts", "All Posts"); }
public static void Select() { MenuSelector.Select("menu-posts", "Add New"); }
public static void Select() { MenuSelector.Select("menu-pages", "All Pages"); }
public static void Select() { MenuSelector.Select(""); }
public static void Select() { MenuSelector.Select("#header > div.masterbar__publish > a > span"); }
public static void Select() { MenuSelector.Select("menu-dashboard", "Home"); }