public StorageLocationTableRow GetStorageLocationTableRow(int rowNumber) { var rowSelector = CssSelectors.GetChild(CssSelectors.RepoDialogStorageLocationsTableRow, rowNumber + 1); Driver.WaitForAjax(); Wait.Until(ExpectedConditions.ElementExists(By.CssSelector(rowSelector))); var table = Driver.FindByCss(CssSelectors.RepoDialogStorageLocationsTable); return(new StorageLocationTableRow(Driver, table, rowSelector)); }
public RepoTableRow GetRepoTableRow(int rowNumber) { //currently works with rownumber only for the single repo in the list var rowSelector = CssSelectors.GetChild(CssSelectors.RepoTableRow, rowNumber + 1); Driver.WaitForAjax(); Wait.Until(ExpectedConditions.ElementExists(By.CssSelector(rowSelector))); var table = Driver.FindByCss(CssSelectors.RepoTable); return(new RepoTableRow(Driver, table, rowSelector)); }