예제 #1
0
        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));
        }
예제 #2
0
        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));
        }