Exemplo n.º 1
0
    public FilterConditionProxy AddQuickFilter(int rowIndex, string token)
    {
        Results.CellElement(rowIndex, token).Find().ContextClick();

        var menuItem = ContextualMenu.WaitVisible().FindElement(By.CssSelector(".sf-quickfilter-header a"));

        return((FilterConditionProxy)this.Filters.GetNewFilter(() => menuItem.Click()));
    }
Exemplo n.º 2
0
 public void ToggleFilters(bool show)
 {
     ToggleFiltersButton.Find().Click();
     if (show)
     {
         FiltersPanel.WaitVisible();
     }
     else
     {
         FiltersPanel.WaitNoVisible();
     }
 }